Hope some one can help me out.
Used this fix, and it did something, but not exact.
When i use 4.94, incl. 21% tax, price round up to 4.95 - thats good.
If i use 4.95, incl 21% tax, price rounds up to 4.96 - not good.
Strange thing, when i use a combinations which add 10 incl, tax on price 4.95, price does displayes corrects at 14.95.
What am i doing wrong?
Using PS 1.7.5, price rounding in shop parameters is set at round up to closest value, using 2 decimals and rounding on each rule.
If i use round up when halfway there, price 4.94 becomes 4.95 - thats good.
But - the price + combination that became 14.95 (good ) now suddenly becomes 14.94 (wrong).
So, i problem solved triggers another XD
On 4/18/2020 at 5:39 PM, JKoele said:Just had to walk through the entire fricking application in my spare time to find this problem.....
Change the file "classes/Tools.php" and find the "public static function ps_round($value, $precision = 0, $round_mode = null)"
Add the following line:
if($precision == 0){ $precision = 2; } //Or any other number you want
Somehow the precision was always empty this fixed it for me.
Hope this helps atleast someone