Jump to content

Configuring additional shipping excl. tax // Decimals not sufficient


Recommended Posts

Hi,

 

I am using 1.6.0.14 and am having problems with configuring additional shipping costs per item.

 

PrestaShop allows me to round to 2 decimals, but that's not sufficient since I am targeting a round price with tax. For example:

 

24.90 EUR (incl. tax) would be 22.636363... (10% tax). Since PrestaShop rounds to 22.64, when adding several items, the total increases by several cents additionally to the regular sum.

 

What's the solution to this problem?

 

 

- Sidequestion -

Which variable/method can I use in the product.tpl to show additional_shipping_cost WITH tax?

Right now I am using a dirty hack (* 1.1).

 

Thanks

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