Home › Forums › Bugs › wrong total amount
Tagged: How Forth Recurit 75 Family tree Per Stage
I’ve discovered another bug, where could I fix this?
Thanks.
[IMG]http://i.imgur.com/VkE0M.jpg[/IMG]
sorry, the link is here http://i.imgur.com/VkE0M.jpg
Thanks for pointing this out, we’re on it.
Which version of DukaPress are you using? may I see your site?
In the meantime you can add the following to your CSS file to hide that wrong section as we work out a fix.
table.thankyou{display:none;}
I’ve managed to overcome the situation. It’s in the digit problem with the currency I’m using.
Something to do with php number format
$amount = number_format((float) $total + $shipping + $total_tax – $total_discount, 2, ‘.’, ‘.’);
The bug also affect the order log in the admin area.
dp-cart.php line 1479
*you might want to check similar formula in other file.
thanks for this!
Hi. I’m having the exact same problem but don’t know how to fix it. For now I added the table.thankyou{display:none;} code to remove that section for the time being.
Is there a fix for this or can I modify the code to fix it?
Thanks, Svenni
We’ll have this fixed in the next version – sorry that you ran into this 🙁