Hey I found the fix. You need to get rid of the commas in the extended price. Do this by changing the code in the cart.php file and the checkout2.php file and checkout3.php file. Find the line of code for the extended price. It looks like this:
$extprice = number_format($costPrice * $qty, 2);
change it to this:
$extprice = number_format($costPrice * $qty, 2, '.', '');
What this does is remove the comma in the extended price. Which fixes the addition for the "total before shipping".
Yeah I fixed it myself. Google is a wonderful thing!
|