Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edavydova/cff268440d32752c7e2be72c30282998 to your computer and use it in GitHub Desktop.
Save edavydova/cff268440d32752c7e2be72c30282998 to your computer and use it in GitHub Desktop.
diff --git a/design/themes/responsive/templates/addons/warehouses/blocks/availability_in_stores.tpl b/design/themes/responsive/templates/addons/warehouses/blocks/availability_in_stores.tpl
index 4ac3686a46..e700bd51a1 100644
--- a/design/themes/responsive/templates/addons/warehouses/blocks/availability_in_stores.tpl
+++ b/design/themes/responsive/templates/addons/warehouses/blocks/availability_in_stores.tpl
@@ -66,7 +66,7 @@
{$store.pickup_phone}
</div>
<div class="ty-warehouses-store__availability">
- {if $store.amount}
+ {if $store.amount && $store.amount > 0}
{if $settings.Appearance.in_stock_field === "YesNo::YES"|enum}
{__("availability")}: {$store.amount}
{else}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment