Jump to content

Old price in Accessory list


cortese14

Recommended Posts

Hi,

 

i have a list of accessory in bottom of page with normal price. I would also see the discounted price.

<div class="price">
{if $priceDisplay != 1}
{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}
{/if}
</div>
{/if}

this code show the old price of product (not accesory)

 <p id="old_price"{if (!$accessory->specificPrice || !$accessory->specificPrice.reduction) && $group_reduction == 0} class="hidden"{/if}> 
{if $priceDisplay >= 0 && $priceDisplay <= 2}
{hook h="displayProductPriceBlock" product=$accessory type="old_price"}
<span id="old_price_display">{if $accessoryPriceWithoutReduction > $accessory.price}{convertPrice price=$accessoryPriceWithoutReduction}{/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>
Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...