Jump to content

[SOLVED] Multistore and the controllers


Recommended Posts


I am not very well versed with the MVC- concept so I may be putting some terms wrong here. Feel free to correct me.


If i have a number of shops on multistore mode (eg. 1,2,3 etc.) all the products are stored in the same tables in the database. Now say that I am looking at the front end of STORE 2. I can only see the products that have been added to associated to STORE 2. So far so good.


The question is: in what file can I find the code that queries/filters away the products from other stores?


Best regards,


Edited by lars95 (see edit history)
Link to comment
Share on other sites


well, actually he proble is that it's not stored in a single place. All queries (or well, most of them), say Category::getProducts, have "AND id_shop =1" (with the respective ID of course, and table reference). Products and categries, for example, have category_shop, and product_shop as tables in the database.

Edited by Nemo1 (see edit history)
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...