From ba00d85c27ce2ac52c8ac15586954240b0f3a68e Mon Sep 17 00:00:00 2001 From: rGaillard Date: Sat, 19 May 2012 15:14:25 +0000 Subject: [PATCH] [-] FO: The product page now doesn't display reduction amount when it is to 0 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15453 b9a71923-0436-4b27-9f14-aed3839534dd --- themes/default/product.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/product.tpl b/themes/default/product.tpl index ce79029d5..e309aea4f 100644 --- a/themes/default/product.tpl +++ b/themes/default/product.tpl @@ -397,7 +397,7 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus {if $product->specificPrice AND $product->specificPrice.reduction_type == 'percentage'}

-{$product->specificPrice.reduction*100}%

- {elseif $product->specificPrice AND $product->specificPrice.reduction_type == 'amount'} + {elseif $product->specificPrice AND $product->specificPrice.reduction_type == 'amount' && $product->specificPrice.reduction|intval !=0}

-{convertPrice price=$product->specificPrice.reduction|floatval}

{/if}