From d55aa608faacf2072778224d69c0f6c62b5e4c3b Mon Sep 17 00:00:00 2001 From: Todd Anderson Date: Thu, 14 Nov 2024 14:08:01 -0500 Subject: [PATCH] inventory fix --- public/templates/store/storefront.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/templates/store/storefront.hbs b/public/templates/store/storefront.hbs index d57c2e8..36b828e 100644 --- a/public/templates/store/storefront.hbs +++ b/public/templates/store/storefront.hbs @@ -152,10 +152,12 @@
{{#if availableForSale}} {{#if totalInventory }} + {{#gte availableInventory 1}} {{#lte availableInventory 10}}

Only {{availableInventory}} left!


{{/lte}} + {{/gte}} {{/if}}

${{cost}}