Jump to content

Price calculation difference between product and total and invoice


Recommended Posts

Hi I do not know if this is a know bug or what, but today a client of me told me the total to pay price is different from what the confirmation email and screen showed.

So I did some testing and yes there is a problem.

look here : (screeshot1)
client order something for 3.11€ and order 34 pieces, so total = 105.71€

but when I look at the details of his order I get a total of = 105.59€ (screenshot2)
the correct price is 105.71€, so I lose some money every time an order is done.
because the client only get the invoice after I received the payment.

Who can give me an explanation or solution?

31250_WnRN6WW3m0wM1jdUcRcU_t

31251_0ON9BXb1FJZkENRGpoMY_t

Link to comment
Share on other sites

This is a very common and serious problem with prestashop. The issue(s) with the different calculation files and how the numbers are computed. Some files to look at are:

- PaymentModule.php (classes folder) - this is for the order confirmaiton email

- Cart.php (classes folder) - this is for the shopping cart and email confirmation


This is like a tangled web where everything is connected to one another. If you not careful you might get one part to work and mess up another part without knowing. Some other things to keep in mind are discounts and how theyre computed.

Take a look at those files and see what you can find. But honestly this is something the presta team really have to get on, like ASAP!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...