Jump to content

Calculation (sub)total incorrect


Guest Coennie

Recommended Posts

Guest Coennie

I really hope someone can help me with this one.

A customer of me has trouble (but not always) with the calculation of the carts in the store. He's an example of the problem:

Code Hoeveelheid Prijs

4296 1 €55.50

4297 1 €50.50

4408 1 €5.50

4668 1 €2.00

4681 1 €2.00

4668 1 €2.00

4681 1 €2.00

Subtotaal: €115.50

Totaal BTW: €0.00

Verzending: €0.00

Totaal: €115.50

As you can see the bottom two products were put in the cart again by the script but not calculated in the (sub)total. I've looked in the code to track the problem, but no idea how to solve this, or how to build in a check to recalculate the (sub)total in the end so the amount is correct with the products.

P.s. When I do a query directly in the db for this ordernumber I also get the 2 extra entries back.

Please please help....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...