Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cart Adding Figures Wrong


Denz

Recommended Posts

Posted

Hi All,

 

I just had a client ring to ask why is the cart adding incorrectly. It is the first time they have noticed it, but it seems very weird.

 

Here is what was in the cart...

 

carterror.gif

 

As you can see it is $28.50 out.

 

Has anyone experienced this? Do you know of any reason this would be happening?

 

Any help/discussion would be great.

 

Thanks

Denz

Posted

I think it's $29.50, not $28.50.

 

This is going to depend somewhat on which Order Total modules you're using. Please post the list, along with the sort order.

 

I did some digging through the Order Total modules a while back, and that code is scary. I made my own module and had to go to great pains to ensure the numbers added up correctly, and that everything that needed to be modified was changed.

Check out Chad's News.

Posted

Hi,

 

Do you mean this...

 

Shipping 2

Sub-Total 1

Tax 3

Total 4

 

I cannot see in there anything that would make it add wrong???

I mean... if you look at the order - the cents are all 00 yet the subtotal has .50 ??? So I figured it has nothing to do with shipping or tax or anything... or am I wrong (usually happens :rolleyes: )

 

Thanks

Posted

Yes. Those are the standard Order Total modules, so you shouldn't be having any problems. Weird.

Check out Chad's News.

Posted

It's a tip for your server :-"

 

Are your prices displayed with any kind of VAT or other tax? I'm wondering if perhaps one or more items are actually adding some tax (such as VAT) into the subtotal, yet displaying the price here without VAT? $29.50 would be about 2.8% of the full amount, so maybe only some of the items are involved.

Posted

Thanks for your reply and link but it not help me, you can see that .60 add some where ,ok can you tell me where i can do something to edit and check , where this function exist?? Please mentioned the path or file name of calculation function...

Posted

Yes I am using standard modules. We have gst of 12.5% here in NZ but I am not adding any. Should all be without tax? The other weird thing is this is the first time it has happened, and the only time for all my clients as far as I am aware.

 

I will have a read through the other thread. Thanks for your help... may have to put it down to bad computer day and monitor if it happens again

Posted

Hi,

 

Just a thought check your Shipping/Packaging in admin

 

John

To improve is to change; to be perfect is to change often.

 

Posted

We solved it. The customer ordered 2.5 of something. The $59 item is meter lengths of metal. And they ordered 2.5 meters (lengths). The cart shows an amount for 2 meters, but tallied up the 2.5 meter price!!! Only found out by calling the customer and asking what they ordered. Weird the cart showed $118 total instead of the $147.50 that it added up!

 

But that answers the question as to how and why!.

Posted

It sounds like your cart is truncating or rounding to integer quantities, so you need to let the floating point number show for (at least) selected products. There may be an add-on around someplace that does that for you. Be sure to look.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...