Skip to content

Add manufacturer to shopware api#6

Open
ghost wants to merge 3 commits intomasterfrom
feature/add-manufacturer-to-shopware-api
Open

Add manufacturer to shopware api#6
ghost wants to merge 3 commits intomasterfrom
feature/add-manufacturer-to-shopware-api

Conversation

@ghost
Copy link

@ghost ghost commented Jul 6, 2022

changes

  • added manufacturer client & model
  • added import for PaymentMethodClient in ShowareApi

@ghost ghost requested a review from fkwakkenbos July 6, 2022 14:02
@ghost ghost self-assigned this Jul 6, 2022
- created manufactureModel & client
- added product-manufacturer to searchClient
- imported PaymentMethodClient
- imported ManufactureClient
- changed shopware search to manufacturers instead of products in the list function from manufacturerClient
@fkwakkenbos fkwakkenbos force-pushed the feature/add-manufacturer-to-shopware-api branch from 6812e85 to 80cfe7a Compare November 28, 2023 20:00
use Flooris\ShopwareApiIntegration\Clients\ProductMediaClient;
use Flooris\ShopwareApiIntegration\Clients\PropertyGroupClient;
use Flooris\ShopwareApiIntegration\Clients\CalculatedTaxClient;
use Flooris\ShopwareApiIntegration\Clients\PaymentMethodClient;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wordt deze gebruikt? Ik zie voor de rest geen verwijzing naar de PaymentMethodClass in deze pull-request.


public function list($limit = 25, $page = 1): stdClass
{
return $this->getShopwareApi()->search()->products(limit: $limit, page: $page);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moet dit niet manufacturers zijn i.p.v. products ?


public function baseUri(): string
{
return 'product-manufacturer';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange URI for the Manufacturer model...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants