Jump to content

How to create module for multistore


prestashop_newuser

Recommended Posts

There really is not too much you need to do different for multistore.  Is there an issue you are having?

 

Yes. Actually I have created a module to show some products from store. But when the module is installed in multistore enabled site then it showed products from the other store. So I just wanted to know how to use the module for multistore?

Link to comment
Share on other sites

Then you need to use the context and shop variables properly.  How are you retrieving a list of products from the database?  Did you write your own SQL statement, or did you use a function within Products class?

 

I have written a small sql query and from that I am getting the products. So can you tell me how to use the Context and shop variables in order to get product from multistore?

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...