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 add out-of-stock swatches to Magento 2?

An important part of store management is product availability control. How to make a person return to the store after seeing that product is out of stock? This article will help you learn how showing out-of-stock swatches in Magento 2 can help you to drive more sales and force the visitor to make a purchase decision.

Setting up the swatches

There are several methods for setting up swatches in Magento 2, that you can read about. But there is a way to make it faster and more convenient - install Magento 2 Color Swatches Pro extension.

This extension allows you to customize out-of-stock swatches right in the extension settings and simplifies your user experience. 

Color Swatches extension provides the ability to select a big amount of different possibilities, such as: 

  1. Allowing customers to copy and share URLs with selected product configurations.
  2. Enabling the feature to display relevant product options' swatches.
  3. Allowing your customers see changes right on the product image when they hover over the product options' swatches. 

The client forms his opinion about the product based on its visual assessment. Therefore, this extension can be a key factor in the success of your store, providing a wide range of functions and settings that allow to make the store more user-friendly.

How to set up out of stock swatches in this Magento 2 extension: advice from Amasty?

1) To get the access to the Color Swatches Pro settings please go to: Stores → Configuration → Color Swatches Pro.

2) Find the Show Out of Stock Configurable Attributes setting.

3) a) set 'No' and Magento hides a simple option when all combinations of this option are out of stock, e.g. 'Red' option when all 'Size' combinations for 'Red' are out of stock.

  1. b) Choose 'Yes' to show configurable attributes which are out of stock. 'Yes' - option works only if Stores - Catalog - Inventory - Stock Options: Display Out of Stock Products = Yes.

4) Do not forget to clear the cache and check the display of the plugins on the frontend.

What is more, this module is compatible with the One Step Checkout extension. These two modules are synergistic with each other. The buyer will have the opportunity to view and check the selected parameters on the cart and checkout page.

Why do you need to show out-of-stock swatches in your Magento 2 store?

Мagento 2 show out of stock swatches feature is used to mark an out-of-stock item as a crossed-out swatch. It is more convenient for users to make purchases as they are aware of needed product details and it makes your store user-friendly as users can subscribe to a notification letter to get info on when the product will be available.

Rate the answer?

Total rating: 5.0

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

Back to top