magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Applying and then canceling a coupon covering the whole order amount causes shipping price to display 0 #36763

Closed oskar-olaussen closed 1 year ago

oskar-olaussen commented 1 year ago

Preconditions and environment

Magento version 2.4.5-p1

Create a cart price rule with a coupon code and following setup Screenshot from 2023-01-20 16-22-45

Steps to reproduce

  1. Have a quote that is cheaper than the coupon discount that is created.

  2. Select some shipping method. Go to payment step. Looks like this: Screenshot from 2023-01-20 16-28-19

  3. On the payment step apply the discount code. Looks like this after this step; Screenshot from 2023-01-20 16-26-18

  4. Cancel the coupon.

Expected result

The shipping cost is set back to original price in summary.

Actual result

The shipping price is shown as 0 on summary.

Screenshot from 2023-01-20 16-30-07

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 year ago

Hi @oskar-olaussen. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 1 year ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

m2-assistant[bot] commented 1 year ago

Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:


oskar-olaussen commented 1 year ago

This issue seems to be worse than expected since it also stops the customer from ordering as the shipping_method is set to null on quote_address. Screenshot from 2023-01-25 13-13-44

m2-assistant[bot] commented 1 year ago

Hi @engcom-Alfa. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Alfa commented 1 year ago

Hi @oskar-olaussen

Thanks for reporting the ticket.

as per our retesting of the ticket on the 2.4-develop branch which is updated amongst all the branches, we are not able to reproduce this issue.

Video Attachment: https://user-images.githubusercontent.com/51679138/216568704-2c78a309-1562-4b78-b86a-421b8df3a381.mov

engcom-Alfa commented 1 year ago

Hi @oskar-olaussen since we did not find any response for the last 2 weeks, hence closing the ticket.

Thanks