Hi,
I am wondering if is possible to write a module (or fix the issue in any other way) for PrestaShop 8 that would make the product discounted prices (Specific prices) consistent throughout the shop and ordering process.
The issue comes from a fact (maybe it should be considered as bug) that PrestaShop 8.1 rounds Unit Price value, displays it but uses unrounded value for further calculations. This makes the calculations wrong. Example:
Product base price: £0.30
Discount from 1000pcs: 31%
Product price with discount applied: £0.207
PrestaShop 8.1, rounding method: Round on each line or Round on total makes the following calculations:
£0.21 * 1000 cannot be £207.00
The problem is that rounded Unit Price with discount is displayed (£0.21) but unrounded value is taken to the calculations (£0.207)
In PrestaShop 1.6 with Classical rounding mode the calculations were made correct - the rounded value was displayed and used for the calculations:
Possible approaches to resolve this:
1. Display rounded value and use it for further calculations (as it was in PrestaShop 1.6):
£0.21 * 1000 = £210.00
2. Display unrounded value (without increasing the currency Decimals for the entire shop) and use it for further calculations:
£0.207 * 1000 = £207.00
Can this be done or approached in any other way?