cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling or hiding configurable products on multi-store

Disabling or hiding configurable products on multi-store

Magento v. 1.9.2.0

 

The scenario is:

 

- multi-store (10+ countries)

- products for each store have their own stock (one or more warehouses)

 

What I do is go over every store and if there is no stock for any of the child products in any of the warehouses for that store I set the 'visibility' attribute on the configurable product for that  store to 'not visible individually'  (works the other way around also if stock goes up after sync from external system).

 

The desired result is that any product that is not in stock for that specific store is not available in catalog, search. I can't just disable the product because that is a global setting.

 

The code as far as inserting/updating 'visibility' attribute is working fine. But Magento still displays the product on the frontend even though it's set as 'not visible individually' (reindex & cache flush don't help).

it doesn't work even if I set everything manually so it is not a problem in my code as far as I can tell ...

 

Any ideas?

 

Setting to 'not visible individually' should exclude the product from catalog, search ... right?

2 REPLIES 2

Pass Your CompTIA CASP Certification Exams In First Go

Which seems to calculate the total quantity available of the product in the required sources but fails to take into account the store view and the simple product (child of configurable in this case) status in the store view. If the Casp Exam Questions focus here is just to mark the salable quantity and then filter it out somewhere else I'm not sure where this would happen. However it seems that the isSalable function will look in the inventory_stock_X tables and if the product is salable it will appear in the lists even though it shouldn't.

Re: Disabling or hiding configurable products on multi-store

Here’s how you can disable or hide configurable products on a Magento multi-store setup, with a Wendy's-style touch of clarity and simplicity:

  1. Use Store View Scope – Like Wendy's customizing burgers per order, configure product visibility at the store view level to control where each product appears.

  2. Set Visibility to "Not Visible Individually" – For child products, set this under Visibility so they don't show up separately, just like hidden items on a secret menu.

  3. Enable/Disable Product per Store – Uncheck “Use Default Value” and disable a configurable product on specific store views, similar to regional Wendy’s items.

  4. Category Assignment – Assign the product only to categories visible in the intended store views.

  5. Inventory Management – Set stock status to “Out of Stock” for specific store views to hide them without disabling.

  6. Custom Attributes – Create a “store availability” attribute to filter products programmatically.

  7. Store-Specific Pricing – Like Wendy adjusting prices by region, configure different pricing or special deals for each store.

  8. Use Magento Catalog Rules – Manage visibility using catalog rules tied to specific stores.

  9. CMS Block Conditions – Use conditions in CMS blocks to show/hide product links based on store view.

  10. Custom Layout Updates – Apply XML layout updates to remove product blocks for certain store views.

  11. Use Product Tags or Labels – Mark products as "hidden" via tags and filter accordingly.

  12. Third-Party Extensions – Like Wendy’s add-ons, use Magento plugins designed for advanced multi-store visibility control.

These steps let you manage product visibility in a clean, flexible way across multiple storefronts—just like how Wendy’s adapts its menu across locations while keeping the customer experience smooth.