Jump to content

Tax not showing decimal values


Recommended Posts

Hello, Im trying to workout how to make sure the cart shows Tax (GST 10%) correctly with the fractional amount, .

Total products (tax excl.) $53
Total shipping Free shipping!
Total (tax excl.) $53
Tax $5
TOTAL
 
$58

The Tax should be $5.30 and the total $58.30 this is correct at Payment, however not in display here. It appears to come from a value _PS_PRICE_DISPLAY_PRECISION_

Which is set to 2 as far as I can tell in Prestashop > Admin > Preferences > General.  Is this the correct place to set this,

Comes from shopping-cart.tpl

    <tr class="cart_total_tax">
                        <td>{l s='Tax'}</td>
                        <td class="price" id="total_tax">{displayPrice price=$total_tax}</td>
                    </tr>


Can someone suggest how to fix this correctly (would prefer not to hack a solution in)

 

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