Skip to content

Commit

Permalink
[-] FO : could not see old_price_display when specific price on one c…
Browse files Browse the repository at this point in the history
…ombination
  • Loading branch information
gRoussac committed Jul 5, 2013
1 parent 62ff976 commit 9f0867b
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions themes/default/product.tpl
Expand Up @@ -410,19 +410,12 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving
{/if}
</span>
</p>
{if $product->specificPrice AND $product->specificPrice.reduction && $product->specificPrice.reduction > 0}
<p id="old_price"><span class="bold">
{if $priceDisplay >= 0 && $priceDisplay <= 2}
{if $productPriceWithoutReduction > $productPrice}
<span id="old_price_display">{convertPrice price=$productPriceWithoutReduction}</span>
<!-- {if $tax_enabled && $display_tax_label == 1}
{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}
{/if} -->
{/if}
{/if}
</span>
</p>
<p id="old_price"{if !$product->specificPrice || !$product->specificPrice.reduction} class="hidden"{/if}>
{if $priceDisplay >= 0 && $priceDisplay <= 2}
<span id="old_price_display">{if $productPriceWithoutReduction > $productPrice}{convertPrice price=$productPriceWithoutReduction}{/if}</span>
<!-- {if $tax_enabled && $display_tax_label == 1}{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}{/if} -->
{/if}
</p>
{if $packItems|@count && $productPrice < $product->getNoPackPrice()}
<p class="pack_price">{l s='Instead of'} <span style="text-decoration: line-through;">{convertPrice price=$product->getNoPackPrice()}</span></p>
<br class="clear" />
Expand Down

0 comments on commit 9f0867b

Please sign in to comment.