6. Product Availability Status

The product availability status module is part of Embedded ERP for Magento2 and provides the features to display advanced availability messages on the front end.

It is compatible with simple, virtual and configurable products.

You can also apply custom CSS styles to customize the look & feel of the messages

_images/availability_status_backorder.png

Configuration

The configuration is available via menu Stores > Configuration > Product Availability Status.

General

In this section you can enable the display of the message on the front end.

It is also recommended to disable magento option “store > configuration > catalog > inventory > Display Products Availability in Stock on Storefront”, else you’ll have duplicate availability message on the website.

In stock

Here you control what message is displayed when the product is AVAILABLE in one of the warehouse available for sales for the current website :

Label

Contains the text to display (you can configure this text by store view to handle translations)

Css class

You can use custom css class to control the look and feel of the message

Back order

This message is displayed when the product is NOT AVAILABLE in one of the warehouse available for sales AND the backorder is enabled for the product.

Depending of the context, several options are available :

Use expected PO ETA

If you enable this option and a Purchase Order is expected for the product, then the system displays the message configured in the next setting

Expected PO label

Here you can customize the message displayed when a purchase order is expected for the product. You can use codes m / d / y to include the month / day / year in your message. For instance, if the PO ETA is 2017-05-23, then using pattern “Back in stock at {m}/{y}” will print message “Back in stock at 05/2017”

Use supplier lead time

If you don’t want to use the PO ETA or no PO is expected for the product, you can use the lead time at the supplier level to build the availability message. Lead time for supplier can be edited in the Supplier view > Settings > Shipping delay

To calculate the lead time for one product, the system collects all suppliers associated to the product and selects the primary one (or first one if there is no primary supplier).

Ranges for lead time

Once the lead time is known for the product, you can display different messages based on the lead time, using ranges.

For instance, the following configurations will display:

  • “Available under 1 week” if the lead time is between 1 and 7
  • “Available under 1 month” if the lead time is between 8 and 30
_images/lead_time.png

Label

The default label is used if there is no PO expected for the product AND no range for lead time.

Out of stock

Here you control what message is displayed when the product is out of stock (not sellable) for the current website :

Label

Contains the text to display (you can configure this text by store view to handle translations)

Css class

You can use custom css class to control the look and feel of the message