Skip to content

Adding product with rest doesn't work when having multiple stores #1826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rklerck opened this issue Sep 9, 2015 · 4 comments
Closed

Adding product with rest doesn't work when having multiple stores #1826

rklerck opened this issue Sep 9, 2015 · 4 comments
Assignees
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@rklerck
Copy link

rklerck commented Sep 9, 2015

When configuring 2 stores with 1 website, both same category.. Adding products with rest doesn't work. It works fine with one store!

The problem seems to be that they are not linked to the category correctly. The products do appear in the backend. But when checking the category, category products.. they are not there. Although the count on the left counts them (for example category_name (2)).

@rklerck
Copy link
Author

rklerck commented Sep 11, 2015

The website isn't set when adding a product with Rest (when configured multiple stores). That's the problem. How can we fix this?

This might me the same fix for #1720

@BingQiangChen
Copy link

yes,same things happens to me. How to fix?
thanks!

@choukalos choukalos self-assigned this Sep 16, 2015
@choukalos
Copy link

Tracking as - MAGETWO-38439; in progress now for GA as part of our integration style API's for efficiency.

Essentially we'll be adding an 'all' store code that allows you to fire 1 API call to the 'All' store and all stores in the system will inherit the values pushed into the system via the API ( similar to the admin gui ).

Currently you can work around this by firing an API create to each store ( i.e. fire the API two times - once for your first store ( i.e. store code ) and 2nd time for the next store code ).

This feature reduces API calls for sites with multiple store codes under 1 web site.

@choukalos choukalos added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development improvement PS feature request and removed bug report MX labels Sep 16, 2015
@choukalos
Copy link

Bug should be closed and pushed to mainline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

4 participants