Jump to content
Sign in to follow this  

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

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>

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


Thank you


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More