Jump to content

Accessories on product.tpl - show discount percent and old price


Recommended Posts

Hello,

 

I would like to show customers accessories (bottom of product page) with actual price, old price and reduction percent like they can see at main product page - by default it;s only actual price. How can i do it?

Link to comment
Share on other sites

  • 4 months later...

Hello, 

Im struggling with same issue. I can see the reduced price, but not something that points that the prodcut has discounted price.

 

Have you get that to work? Anyone can help?  

 

The code for price an accesory on my product.tpl is:
 

      {if $accessory.show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}
											<div class="article-price">
												{if $priceDisplay != 1}
													{displayWtPrice p=$accessory.price}
												{else}
													{displayWtPrice p=$accessory.price_tax_exc}
												{/if}
												{hook h="displayProductPriceBlock" product=$accessory type="price"}
											</div>
											{/if}
											{hook h="displayProductPriceBlock" product=$accessory type="after_price"}
                                            

 

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...