Display the quantity left when selected the variant size for Dawn theme

Topic summary

A user wants to display remaining inventory quantities on their product page when customers select different size variants, specifically when stock is less than 3 items. For example, if size “S” has 2 units available, the text should show “2 more left.” They also want this message to appear in the pop-up window when users click “Add to Cart.”

A responder notes that the Dawn theme includes a built-in “Inventory status block” feature in the theme customization settings that can be added to the product template. An image/screenshot was shared to illustrate this feature, though the specific implementation details for the pop-up window remain unaddressed.

Summarized with AI on November 5. AI used: claude-sonnet-4-5-20250929.

Hi,

In the product page, I have variant size. When user selected different size, I want to show the quantity left message if the inventory stock is less than 3

For example, if user select size “S”, and if the stock is 2, then the text show as “2 more left”.

How can I add this on the product page and also on the pop-up window when user click Add to Cart?

Thanks.

Hi @azieaziz14
Dawn theme has Inventory status block to your product template in theme customize