cancel
Showing results for 
Search instead for 
Did you mean: 

Force tax & discount to round to 2 decimal places

Force tax & discount to round to 2 decimal places

We have a Magento (1.8) shop that sells some items which are so cheap that we have had to list them with prices up to 4 decimal places.
So we might have a poly bag priced at £0.0088.
To do this we used ET Currency Manager (http://shop.etwebsolutions.com/eng/et-currency-manager.html).

This seems to work OK, but the problem we have is that shifting to 4dp leads to issues with tax and discounts also being calculated to 4dp. This then causes discrepancies with our office accounting systems.

We need to allow the prices to be 4dp, but force the tax and discount to remain at 2dp.

Can anyone tell us what changes we would need to make to achieve this?

3 REPLIES 3

Re: Force tax & discount to round to 2 decimal places

Re: Force tax & discount to round to 2 decimal places

Thanks for the links, they would appear to get us to the stage we are at already - having prices as 4dp.

What we need to find out is how we can keep the prices as 4dp, but make sure that tax and discount are rounded to 2dp.

Re: Force tax & discount to round to 2 decimal places

I suggest you to identify the file from where the tax are calculated and getting applied. Try to make changes there and may be you'll get what you want.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now