I am working on magento one website multiple store, my problem is how to fetch only current store products by search. Because at present after search i get all products which are presne in all stores.

1 Answer 1


Ok, so you have multiple store views for a single website. By default, products in this case are only limited to the website scope (have a look at the "Websites" section in the product configuration page) and thus cannot be set for a single store view.

What you can do is limit the products based on the category scope. Thus, for your store views define separate scopes for your categories. In addition, you might need to set different anchor values for your categories depending on your desired scope.

Store views are generally used to setup different languages for your store. If you are planning to use store views to e.g. share sessions across different domains you will need to do the above to get your scopes working correctly.

  • Can we do in programatically way, like change in catalogsearch query?
    – Mathew
    Commented Aug 27, 2015 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.