Prestashop: Order Amount is wrong if the products mapped with the different shipping method - Prestashop 1.7.4.4

Created on 5 Dec 2018  Â·  12Comments  Â·  Source: PrestaShop/PrestaShop

Hi,

I have placed an order having two products marked with different shipping. When I applied a fixed amount of a voucher then after placing an order, the amount is wrong.

Steps:

  1. Add two or more products each marked with different shipping so that order can be split
  2. Apply a fixed amount of voucher (For Example USD 20)
  3. Place an order and the amount displayed in the order confirmation/Admin order is wrong.

As the order splits into two based on the shipping, the total price is wrong.

images.zip

1.7.4.4 1.7.6.0 BO Bug Carriers Discounts FO Minor Order TBS

Most helpful comment

Hi!
I am glad to inform that people from 202 ecommerce, developers of Official PayPal module, solved the problem in our store. Now Order Amount is right when products are mapped with the different shipping method.
I have invited them to parcicipate here and to share the sollution wich I suppouse will be availble in next module version.
Thank you all,
Best regards,

All 12 comments

Hi @mayank212,

Thanks for your report.
Have you the same issue with this ticket: #9594?
Thanks to check & feedback.

Hi @khouloudbelguith,

I have found the issue when applying the fixed amount of the voucher to the cart.

@mayank212,

1-bug => In the order confirmation, only the product 1 will be displayed in the section "ORDER ITEMS" => bug reported here #9594
2-bug
So, when applying a discount on a split order, the discount is used twice.
1- create a Product 1 with price =300£ marked to the Shipping 1
2- create a Product 2 with price =200£ marked to the Shipping 2
3- create a cart rule with amount discount 100£
4- create an order with Product 1 & Product 2
5- In shopping cart page, the total is correct 300£ + 200£ -100£ = 400£
6- In the order confirmation => 1.bug & The total is incorrect & the discount is incorrect
image

7- in the order details, two orders related are created => the discount amount is applied twice
So, the total became = 300£ => Total first order = 300£ -100£ =200 £
Total second order => 200£ -100£ = 100£

image

image

We will see how to fix it.
Thanks!

@khouloudbelguith Can you check the invoice ?

@marionf, the same issue in the invoices
image
image
Thanks!

Humm, this is a very specific case when the order is splited and we need to discuss about this @colinegin
A solution could be to split the discount between the 2 orders

Hi, I got the same error. It doesn´t matter the payment method. Does anyone find a solution for this? thank you. Also got a PrestashopException when trying to adjust amount with adding or editing a discount in order. See attached pictures.
captura de pantalla 2019-02-12 a las 23 30 49
captura de pantalla 2019-02-12 a las 23 02 36
captura de pantalla 2019-02-12 a las 22 37 02
captura de pantalla 2019-02-12 a las 22 36 33
captura de pantalla 2019-02-12 a las 22 54 12

@COCOPOT about the exception, could you please create a new issue ?
Thank you !

@marionf, this issue is added to our bug roadmap.
Here's the ticket: #11059.
@COCOPOT, you need to follow this issue: #11059
Thanks!

Hi!
I am glad to inform that people from 202 ecommerce, developers of Official PayPal module, solved the problem in our store. Now Order Amount is right when products are mapped with the different shipping method.
I have invited them to parcicipate here and to share the sollution wich I suppouse will be availble in next module version.
Thank you all,
Best regards,

Hi @COCOPOT,

Thank you for your feedback.

For guys followings this thread, Paypal Official module and @COCOPOT feedbacks are not the same issue. Paypal Module publish a fix one year ago.

So please consider 202 don't have fix the original issue. @marionf solution seem have the good idea: split the discount between the 2 orders

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChineseNorris picture ChineseNorris  Â·  64Comments

krasnycz picture krasnycz  Â·  52Comments

photinia73 picture photinia73  Â·  59Comments

flyman30 picture flyman30  Â·  59Comments

ninefingersodnd picture ninefingersodnd  Â·  51Comments