NateWon Posted July 25, 2018 Share Posted July 25, 2018 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 More sharing options...
NateWon Posted July 25, 2018 Author Share Posted July 25, 2018 Nevermind found it, was a setting under the currency "Display Decimals" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now