From 040ff3396ac32a1cc35d4d2464e8d36486cac418 Mon Sep 17 00:00:00 2001 From: runningz Date: Tue, 28 May 2013 23:06:05 +0300 Subject: [PATCH] [-] MO : Remove link "Notify me when available" when in stock --- modules/mailalerts/views/templates/hook/product.tpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/mailalerts/views/templates/hook/product.tpl b/modules/mailalerts/views/templates/hook/product.tpl index 14d0a521d..05656bcfc 100644 --- a/modules/mailalerts/views/templates/hook/product.tpl +++ b/modules/mailalerts/views/templates/hook/product.tpl @@ -88,9 +88,11 @@ $(document).ready(function() { -{if isset($email) AND $email} -
+{if $product->quantity <= 0} + {if isset($email) AND $email} +
+ {/if} + {l s='Notify me when available' mod='mailalerts'} + {/if} -{l s='Notify me when available' mod='mailalerts'} -