cortese14 Posted May 14, 2015 Share Posted May 14, 2015 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 More sharing options...
cuapaca Posted December 20, 2017 Share Posted December 20, 2017 Hello, Im looking to show discounted price for accesory too. Your code dindt work to me, Have you find any other solution? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now