AbanteCart Community
Shopping Cart Operations => Support => Topic started by: galaxy77 on May 22, 2016, 05:11:31 PM
-
I have been trying to resolve this issue for hours, and I can find no explanation. I have added a product that totals £69.99 inc. VAT, but on the product page it shows £69.99 in the main grey box, but a total price of £70.00. Here is the link, enscomputers.co.uk/home-cctv/d-link-eyeon. There is another product that totals £14.99 which shows the correct price in both places. Here is the link enscomputers.co.uk/apple/usblt2mw
Any ideas why this could be happening? Any help would be appreciated! :)
-
Hello.
So your product price is 58.33
you have 20% VAT = 11.666
sum 58.33+11.666 = 69.996 and if round to the 2 digit total = 70.00 (rounded up because higher than 5)
-
Hi,
The problem is the item is showing two different prices, I can't get it is show one price or the other. See this link - enscomputers.co.uk/home-cctv/d-link-eyeon
Any ideas to the solution?
Jo
-
This looks like a rounding issue.
What version of Abantecart do you run? I checked on 1.2.7 and I get same 70.00 shown in all places
-
Hi,
I am using 1.2.7, I upgraded last week.
Jo,
-
Hi,
I am using 1.2.7, I upgraded last week.
Jo,
Can you port your settings? Default currency, tax, product price, etc or can you PM admin access?
Thank you.
-
Hi,
I am using 1.2.7, I upgraded last week.
Jo,
Can you post your settings? Default currency, tax, product price, etc or can you PM admin access?
Thank you.
-
I have PM'd you more information.
Jo,
-
Thank you. I am able to replicate this problem.
Issue that you set price to 58.3252. If you put 58.33, it will solve the issue for now.
I will check for code fix
-
Here is a fix for the rounding issue. Copy file and replace
https://github.com/abantecart/abantecart-src/commit/49c9d9390455b6c930846b3e1c1a8c8ec1a061d5
-
Hi,
I have done what you recommended, and now I can't get it to show £69.99, only £70.00. Any suggestions?
Jo,