Last active
April 6, 2020 06:46
-
-
Save edavydova/cff268440d32752c7e2be72c30282998 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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