📦Stock badge

The stock status badge is an essential element of our portal, designed to provide a quick overview of available stock quantities for specific products or resources.

Operation:

The stock status badge is dynamically integrated into the portal and accurately reflects the current stock status of each item. It uses an intuitive color system to quickly indicate whether stock is sufficient, low, or depleted.

StatusBadge

Indicates that supplies are sufficient and there are no immediate supply problems.

Indicates that supplies are low or running low gone perhaps prompting the user to buy that plan.

Indicates that supplies are stock out.

Configuration

One of the key configuration options for the stock status badge is the ability to set a "minimum quantity" or "minimum threshold" that defines when items are considered to be in a "low stock" status.

In order to be able to change the threshold that we think goes into "low stock" we go into the portal configuration full path admin panel > settings > configuration > portal

From the portal we go to setting and find a field called minimum stock we choose the amount we want to set as the minimum and that's it. Basically, the minimum stock is set to 5

Last updated