I am working on one website multiple stores.My issue is when i search from frontend with one store then other store products also coming.

2 Answers 2


For the Sports Store you have to disable all music products from product grid and for the music store you have to disable all sports products. you can do it from product Grid.

Admin > Catalog > Manage Products

Choose Store View : Sports Store And select All Music Store Products if there and from mass action select Change Status to Disable.

Choose Store View : Music store And select All Sports Store Products if there and from mass action select Change Status to Disable.

Once all done do the Re-Indexing for all.

  • How can i do programatically?
    – Mathew
    Sep 14, 2015 at 6:03
  • You want to display in site right?? I guess, that s enough. No need of programming.
    – Sundar
    Sep 14, 2015 at 6:35
  • Yes i want in front end, but I want programatically because if i have multiple stores then i have to change visible status for all stores.
    – Mathew
    Sep 14, 2015 at 6:37
  • I google and find this place where i apply category filter for collection, [magento.stackexchange.com/questions/37148/… this is not working for me in this function prepareProductCollection.
    – Mathew
    Sep 14, 2015 at 6:38

I am having the same issue. So far I am able to do this at the website level but not at the store level.

You might want to try out the visibility option which is at the store view level:

This is only in theory, I have not tested. For e.g.

Product A and Product B Store A and Store B

Configuration is:

Store A -> Product A [Visibility: Catalog, Search]

Store B -> Product A [Visibility: Not Visible Individually]

Store A -> Product B [Visibility: Not Visible Individually]

Store B -> Product B [Visibility: Catalog, Search]

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.