Jump to content

price in prestashop


Recommended Posts

you can try to deal with convertPrice static function

for example:

{tools::convertPrice(price_here,null, currency_to_here)}

 

where:

price_here - price of default currency

currency_to_here - ID of currency that you want to show

Link to comment
Share on other sites

you have to use this code there where you want to display several prices.

if you want to display it on product page - alter product.tpl

if on category page - alter product-list.tpl file

 

remember that in product.tpl $product variable is an object and in product-list.tpl file $product variable is an array

Link to comment
Share on other sites

  • 2 weeks 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...