Magento Configurable Product ‘Out of Stock’ Bug

If you ever find a Magento shopping cart is erroneously showing ‘in stock’ items as being ‘out of stock’ and you have ‘Manage Stock‘ set to ‘yes‘ under System > Configuration > Catalog > Inventory then you have probably hit a bug in Magento. There is a fix.

I know this particular bug rears its head when configurable products are created and one or more of its product variations is set to ‘Out of Stock’ and/or the variations are not assigned to product categories.

Quick definition

A product can vary its attributes in any number of ways such as by color, size, shape, material, texture and so on… The base product is the one that product variations are created from. The base product is the configurable product and it is the template product for the simple products that are created out of it.

Quick fix

Definition out of the way, when you create configurable products in Magento, edit each of the simple products created from it:

  1. Ensure each simple product is set to ‘In Stock’ under the Inventory tab
  2. Ensure each simple product is assigned to a category

If your products are already created you will need all simple products created from the same parent configurable (base) product to check that each simple product (ie variation) is assigned a category and is not set to ‘Out of Stock’. If even one of them is set to ‘Out of Stock’ under Inventory > Stock Availability then the base (configurable) product will display the ‘Out of Stock’ message.

Sharing is caring!

2
Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
Jenny

that was not really a fix, I have all options mentioned above set appropriately and the configurable product is STILL showing as “out of stock”.
This is definitely a heavy bug in Magento and no-one seems to really find a real fix …