For a long time, Magento has been a great ecommerce platform for medium and large businesses. Due to serving such a bulky business apparatus, Magento backend arises some troubles in the process of creating and managing products, especially configurable ones. In particular, Magento 2 Show Out of Stock Configurable Products is among the most common problems encountered by any beginner.
Tons of configurations in the product creation section makes us sometimes miss a vital chain, which causes this mistake when showing on the frontend. If you are in the same shoe, then don’t skip this article!
We will accompany you in the adventure of finding the cause and how to solve Magento 2 configurable products out of stock right now!
Before We Start
Hold on there! Although the configurable product is extremely popular (possibly the most) among 6 Magento 2 product types, beginners might not have fully understood it yet.
So, before jumping into the central part of this article, let’s warm up with some necessary information on Magento 2 configurable products!
Put simply, Magento 2 Configurable Product is a versatile product. It essentially consists of many Simple Products, which come with different variants.
Each variant is presented with a list of attribute options for customers to choose from. A variant creates a separate, simple product managed and supplemented by an outstanding SKU.
The configurable product is famous for its flexibility and can be used for many types of products. The options are infinite, so you can set your own properties or use the existing ones provided by Magento.
Thirst for more? ABSORB Magento 2 configurable product RIGHT AWAY to quickly create a configurable product.
However, after creating and publishing products on the frontend, admin users can quickly feel the inconvenience brought by default. For instance, the default Magento only allows displaying descriptions of parent products, while details of child products are entirely unavailable.
This causes a lot of confusion for customers because they mostly buy simple products of configurable. It would be uncomfortable not to read detailed descriptions of the sub-product you are about to buy, isn’t it?
VISIT Simple Configurable Products Magento 2 INSTANTLY to understand the importance of child products’ details.
In addition, the problems of showing prices and adding to cart in default also give various store owners some headache to handle it.
Without an extension, you will only be able to show the lowest price of the product while the tier price cannot appear in the frontend (although you can still set it up in the backend).
Another inconvenience is that it’s impossible to add multiple sub-products to the cart at once.
DIG DEEPER INTO the best Magento 2 Configurable Product Extensions to clear away default drawbacks!
Get An Insight into Magento 2 Configurable Product Stock Setup
Alright! Hopefully, you have gained knowledge about our main character and default limitations that prevent store owners from taking full advantage of Magento 2 configurable products.
To unveil the root of Magento 2 show out of stock configurable products problem, we will need to comprehend the product inventory and stock status setups on the admin page.
Stock Status – General Setting
When utilizing any product type in general and the configurable one in particular, you all have to pay attention to the stock status of that product to make sure it displays exactly as you wish on your store.
This field enables admin users to manage the availability of products in stock, which has two states “In Stock” and “Out of Stock.”
Specifically, the Stock Status of a configurable product is the total number of associated ones. Because this product type doesn’t require you to enter a quantity, the system automatically regards the stock status as Out of Stock.
Advanced Inventory Settings
Above is just a simple stock configuration. You can also practice other settings that serve your more advanced and specific purposes. Click on the Advanced Inventory right below Quantity.
Bear in mind that Magento 2 offers two advanced inventory setting methods: With Stock Management and Without Stock Management. Don’t confuse these 2 forms!
Namely, the former has a broader set of options than the latter. It would be a perfect choice for those who have full control of inventory. You can easily change the stock setups of an individual configurable product without constraint.
Meanwhile, the opposite is noticeable in the second method with a few options and minor changes.
1. Include Stock Management
Set Manage Stock to Yes.
In the Qty field, fill in the number of product items that are currently in stock.
For more details, by default, the qty of Magento 2 configurable products is always 0, because the number of child products determines the stock status of the entire parent product. Therefore, there’s no need to enter the quantity in this field.
It’s not until when you move to the configuration of each sub-product that you must care about quantity. According to the image shown here, you have 3 options to set up qty for associated products:
- Apply single quantity to each SKUs: Use the same number for all sub-products.
- Apply unique quantity by attribute to each SKU: Enter different numbers for each attribute. Example: 100 red shirts and 150 blue shirts.
- Skip quantity at this time: Temporarily, you don’t want to fill out qty. You can fill it after clicking Generate Product.
When the number of child products reaches this value, customers will see the configurable product sold out on the frontend (in fact, there are still some in stock).
For example, if you fill 2 in this field, the page will display Out-of-stock status when all child items have 2 left.
The purpose of setting a threshold is to give sellers time to prepare the restock and avoid the rush of stock receiving.
Minimum/Maximum Qty Allowed in Shopping Cart
Also, you can easily customize the limitation for configurable products that can be added to the cart with these fields.
Qty Uses Decimals
Then, depending on the characteristics of your configurable product (liquid or solid, sold in any unit, etc.), decide whether to allow customers to fill in the decimal value for the number of orders purchased or not.
Allow Multiple Boxes for Shipping
Switch to Yes in the Allow Multiple Boxes for Shipping if your store provides separate shipping services.
This defines how to manage backorders with 3 options including No Backorders, Allow Qty Below 0, Allow Qty Below 0 & Notify Customer.
Notify for Quantity Below
When configurable product qty reaches this value, the Magento system will notify the admin to back in stock promptly.
Enable Qty Increments
Set Enable Qty Increments to Yes if you want to sell items in individual lots. Then, type the number of the product qty per lot in the Qty Increments field.
Let’s assume you type 5 in Quantity Increments field. Now, customers must order a quantity of 5, 10, 15, and so on.
Next, select the product availability status in the Stock Status.
Finally, don’t forget to press the Done button on top of the Advanced Inventory menu to apply the settings.
2. Exclude Stock Management
Switch to No in the Manage Stock.
Field meanings are the same as above. This time, the Stock Status section has been hidden, because the admin user doesn’t have the right to manage good quantity, maybe the 3rd party is in charge of this instead.
By the way, Magento 2 Enterprise edition allows users to activate the Use Deferred Stock Update. The option updates inventory quantity indicators asynchronously after they place product orders.
What Causes Magento 2 Configurable Product Out of Stock
We all realize that creating a configurable product requires great care and precision. If you fail to meet that, chances are “Magento 2 show out of stock configurable products” issue will happen.
It’s a lot faster when we know the reasons than panicking to find out where the error is in the dozens of configurations you’ve just done.
Not let you wait any longer. Right below presents the top reasons for Magento 2 configurable product display out of stock. Scroll down immediately!
Include No Child (Associated) Products
First, check if you remember to attach the single product to the parent product. Surprisingly, a host of our clients responded that they forgot to click the save button when connecting a sub-product or added not unique combinations of associated simple items.
Don’t let such tiny flaws affect your management and waste your time. So, if you fall into the case of Magento 2 show out of stock configurable products, double-checking is the best action. Better late than never, right?
Leave Simple Products with Quantity 0 or Disabled Status
As we all know, the default Magento automatically turns off Stock Status for a configurable product because its inventory depends on associated ones. Thus, the second reason that Magento 2 shows out of stock configurable products might be the stock of the child product staying at 0.
The condition for configurable to be in stock is at least one variant with a quantity greater than zero.
Similarly, make sure you have enabled the entire sub-product and the configurable product as well. If they are disabled, customers cannot find them on your website.
Assign Products From Different Websites/ Stores
This third factor is likely to happen for multi-store websites. Magento system will not be able to accept products coming from other stores for the configurable product you are creating. Sub-products that are not in the same stores/websites will lead to the visibility failure of configurable options.
Forget Cache and Catalog Index
Last but not least, after you ensure everything is okay, it may be because you haven’t flushed Magento cache or rebuilt the catalog index. Remember, finishing configurations doesn’t mean your website will auto-update.
At such times, we highly recommend you clear the cache and reindex catalog. These will help you see the latest actual data.
How to Solve Magento 2 Show Out of Stock Configurable Products
Well. It can be said that the problem of Magento 2 configurable product show out of stock originates from minor reasons. And the solution to them is equally simple. The first action you should take is to check and check again.
At the admin panel, expand Catalog and choose Products. Then click Edit the configurable product that is out of stock. Scroll down to the Configurations section, check the Quantity and Status columns of all assigned products.
If everything lies in their position, navigate to System > Cache Management > Flush Magento Cache.
Or Reindex the Data.
A Checklist for “Magento 2 show out of stock configurable products” Issue
- Make sure the number of assigned simple products is greater than zero when creating a configurable product. If you don’t enter the quantity in this step, the system will automatically assume your configurable product is not available and change the stock status to Out of Stock.
- When forgetting to add a quantity while creating a product, you need to visit each product to do so and change the status from Out of Stock to In Stock manually.
- After updating the stock status of the configurations, you should clear the cache and reindex Magento data.
- Consequently, try refreshing the frontend product page, and your configurable product will magically appear before your eyes.
In a nutshell, people often complicate matters and imagine the big reasons when they encounter the case of Magento 2 show out of stock configurable products. Does Magento 2 have a code error? Do I need the Developers’ intervention?
However, the most surprising things often come from the smallest. There is no need to dramatize the game. Check back what we suggested up there to make sure you didn’t miss any of the details.
We wish you will soon master the creation, usage, and troubleshooting of Magento 2 configurable products.