Low stock messaging

Show scarcity when products are running low on stock

You can use Nyla's Availability Messaging block to drive conversion on your products by showing availability messaging. If there's under 10 units in stock, then the block will display the quantity remaining property sent by Shopify. It will be based on the value when the user loads the page (e.g it will not update in real time whilst the customer remains on the page as other customers are purchasing). 

This block serves as a starting point for you to update to your needs, so you can change the quantity levels, messaging, styling and so on. 

Availability Messaging Block:

    • Adds a message indicating how much stock is left for a variant. The message will only show when there are less than 10 units in stock.
    • Can be used in both the PDP and PLP
    • Requirements:
      • Block must be added inside a source product/collection

See how to build this from scratch here: 

In the following video you'll see how you can display messaging indicating that a product is running low on stock.

This example uses a special property to a) indicate the inventory quantity left of the chosen variant and b) only show the message if the quantity is 10 or fewer. The property used is:

product.variant.quantityAvailable

This property will be available for use any time you're inside something that has a Source: Product.

 

Alternatively, you can use the following property if you want to make it at a product-level stock instead: 

product.totalInventory