Magento: Different products in the different store views under the same store?

Relja picture Relja · Jul 22, 2011 · Viewed 14.7k times · Source

I have multi website, multi stored Magento shop, and I have a need to make some products available in one store_view, but not available in the other, where both store_views are part of the same store and website.

All my products are configurable with simple products attached to them. Only way I could think of solving this is registering a new product attribute through which I control where each product goes. That works great for the catalog and lists of products, but I have huge problems with single product view and choosing the configurable product options.

I can't seem to find where in Magento core those option are generated, so I could override that and strict some options for each store view. Basically, I need to know where is this

enter image description here

generated. My last resort would be managing this through AJAX, but there is already a lot of AJAX code and calls in that page that it would be confusing.

Any help or tip would be very appreciated.

Answer

Christoph picture Christoph · Apr 9, 2012

I am pretty sure that the way above is not working because the attribute enable/disable product has impact at website level and not store or store view! So if you do like tomakun says the product will be disabled at the whole website and not just for the store view you choose first!

I have the same problem that I want to assign different products all to one website but to different stores.

So far I just found the solution above to change the visibility at store view level.

But I think this not the optimal solution. It should be possible to disable a product on store level!