Jump to content

[Multistore] Adding category to 1 shopgroup/shop only through category object


venditdevs

Recommended Posts

Hi everyone,

​I'm pulling my hair out right now.

We are integrating multistore in our module that connects our POS system to Prestashop.
​We want to add categories through import. That is working BUT ...all categories are added to ALL shops instead of the id_shop we are importing into. 

​Does any of you know how we can manage that through the category object?  The AdminCategoryController doesn't answer my questions :(

​With best regards,
Vincent

Link to comment
Share on other sites

*facepalm* Rocky, you saved my day. I was looking for a way to add them to multiple shops at once so i forgot all about the obvious. I'm writing a workaround for adding the categories to the shared shops in a group.

​Thanks for getting me back on the right track!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...