Search
×
Log in or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

Frequently Asked Questions

How can we help you?

banner image

How to set up Magento 2 product stock status on the frontend?

By default, you get only 2 product stock statuses in Magento 2 admin panel: in stock and out of stock. Also, you can enable the Only X left message on your storefront when the quantity of goods ends. Let’s consider default Magento 2 settings and how you can extend them.

Default Magento 2 product status options

First of all, you need to set up general inventory settings. For this, go to Stores > Settings > Configuration > Catalog > Inventory. Navigate to the Stock Option block and set up the number of items that will enable the Only X left message in the Only X left Threshold field. For example, if you enter 10, the message appears when there are 10 or fewer products in stock. By default, the value is 0, and in this case, the message does not appear at all. To enable In stock or out of stock messages, set yes in the Display products availability in Stock on Storefront field. Save the changes.

magento-2-stock-options

To get the change of a certain product stock status, go to Catalog>Products, find the needed product, and click on the Edit button.

Then, find the Source Item Status field and choose In Stock or Out of Stock status. Also, you can set up the Notify Qty field. Enter the number of items in stock that will trigger the out of stock notification. When you are ready, don’t forget to save configurations.

magento-2-product-quantities

Custom stock status for products in Magento 2

To attract more attention to specific products, you can create a unique stock status. With the Amasty Custom Stock Status extension, you can create various statuses and assign them to the products. You can add a label or icon to your stock status or place a link for additional information. Display status on the catalog and product pages, in the cart, and on the checkout. Moreover, you can show stock quantity on the Magento 2 product page to inform your customers about running out products. For this, use the qty_threshold variable. The time variables like {tomorrow}, {day-after-tomorrow} and {yesterday} will help you enable automatic date display in stock statuses to show the expected back-in-stock date.

Out of stock notifications

Another option how you can extend default Magento 2 product status is by getting your customers the opportunity to subscribe on out of stock products. So they can be informed as soon as the desired product is back to stock. With our Out of Stock Notifications plugin, you can not only send emails to your customers but also notify admins about the low stock and new subscriptions automatically. Besides, you can use this extension to alert your customers about price changes for goods in case of promotion, for example. Use the analytics dashboard to check the statistical data and make data-driven decisions.

→ Enable effective stock management system with the Advanced MSI extensions

Rate the answer?

Total rating: 4.0

If you didn’t find the answer on your question, please, ask here:

Back to top