From 9f0867b7004b7052826eb74c2146f2b30e1c1c4d Mon Sep 17 00:00:00 2001 From: gRoussac Date: Fri, 5 Jul 2013 14:42:39 +0200 Subject: [PATCH] [-] FO : could not see old_price_display when specific price on one combination --- themes/default/product.tpl | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/themes/default/product.tpl b/themes/default/product.tpl index 21d0c3b23..508639287 100644 --- a/themes/default/product.tpl +++ b/themes/default/product.tpl @@ -410,19 +410,12 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {/if}

- {if $product->specificPrice AND $product->specificPrice.reduction && $product->specificPrice.reduction > 0} -

- {if $priceDisplay >= 0 && $priceDisplay <= 2} - {if $productPriceWithoutReduction > $productPrice} - {convertPrice price=$productPriceWithoutReduction} - - {/if} - {/if} - -

+

specificPrice || !$product->specificPrice.reduction} class="hidden"{/if}> + {if $priceDisplay >= 0 && $priceDisplay <= 2} + {if $productPriceWithoutReduction > $productPrice}{convertPrice price=$productPriceWithoutReduction}{/if} + {/if} +

{if $packItems|@count && $productPrice < $product->getNoPackPrice()}

{l s='Instead of'} {convertPrice price=$product->getNoPackPrice()}