Jump to content

Round price on product-item.tpl


deyan4

Recommended Posts

Hello,

 

I've got a strange rounding issue in product-item.tpl.

 

Here's the code:

{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}

and then in product.tpl:

{convertPrice price=$productPrice}

and

{assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)}

How can I avoid the rounding?

 

Thank you!

Link to comment
Share on other sites

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