Checkout discount still applied on product/s when sale is deleted or the catalogue is empty #14617
-
Hello everyone! (Using saleor v3.16) We are currently having problems with updating checkout line price/total price when the sale is deleted or the catalogue is emptied out. The issue seems to arise from the create_or_update_discount_objects_from_sale_for_checkout function in the saleor.discount.utils.py where if the sale is not existent it won't update the CheckoutLineDiscount object at all. It does work fine if we update the sale value or add/modify the catalogue. This was working in previous versions but the change in 3.14 (I think?) somehow made this not possible anymore. Any help is appreciated, thank you :) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Hi @fmravic96 could you please provide steps to reproduce the issue? |
Beta Was this translation helpful? Give feedback.
-
Hi, we encountered the same issue. Do you have any updates? Thanks and kind regards, |
Beta Was this translation helpful? Give feedback.
-
Same here unfortunately. Any feedback on this? |
Beta Was this translation helpful? Give feedback.
-
Hi, The issue is known, but it shouldn't appear anymore on version 3.17. So if it's possible I recommend upgrading to version 3.17+. 🙂 |
Beta Was this translation helpful? Give feedback.
-
This still seems to be an issue in core v3.19.18. When I delete a discount there is no worker task event logged so all the relevant discounted product pricing remains. |
Beta Was this translation helpful? Give feedback.
Hi,
The issue is known, but it shouldn't appear anymore on version 3.17. So if it's possible I recommend upgrading to version 3.17+. 🙂