Skip to content

Shipping method values becomes zero when apply a cart price rule in checkout  #21832

Closed
@sheyan-ascentic

Description

@sheyan-ascentic

Preconditions (*)

  1. Magento 2.2.5

Steps to reproduce (*)

  1. Enable Free shipping, table rates and flat rates from admin->configurations ->shipping methods.
  2. Create a Cart price rule to discount a specific shipping amount.
    Marketing -> Cart price rule.

https://user-images.githubusercontent.com/34059011/54592574-abb43b00-4a52-11e9-8f32-5b32957a377a.png
https://user-images.githubusercontent.com/34059011/54592624-c71f4600-4a52-11e9-8b64-59ba1070725a.png
https://user-images.githubusercontent.com/34059011/54592662-dbfbd980-4a52-11e9-9f2c-d17e24ee6cc9.png
https://user-images.githubusercontent.com/34059011/54592686-e61dd800-4a52-11e9-9776-65881fabdd3c.png

  1. Apply the discount code by selecting the flat rate from the checkout shipping methods
  2. Go to home page and come back to the checkout page

Expected result (*)

  1. After going to the homepage and come to Checkout flat rate shipping method should be 0 but table rate shipping method should be a value set in the table rate matrix.

Actual result (*)

  1. After going to the homepage and come to Checkout flat rate shipping method is 0 and table rate shipping method also became 0 .
    https://user-images.githubusercontent.com/34059011/54593111-c89d3e00-4a53-11e9-84de-a475f6597a3e.png

Metadata

Metadata

Assignees

Labels

Component: CheckoutEvent: dmcdindia1Issue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releaseSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions