Skip to content

Unable to apply coupon code during admin order creation in case rule has weight as condition #36271

@github-jira-sync-bot

Description

@github-jira-sync-bot

Steps to reproduce:

  1. Install clean 2.4-develop
  2. Crete simple product with weight = 8
  3. Create a new customer with default billing and shipping address
  4. Create cart price rule with coupon:
    -- In "Conditions" sections add - "Total Weight equals or greater than 5"
  5. Try to create a new order in admin:
    -- Use created earlier customer
    -- Add product
    -- Try to apply coupon

Actual result:

The "123" coupon code isn't valid. Verify the code and try again.

Expected result:
Coupon should be applied

(i) Note: After unchecking "Same As Billing Address" checkbox coupon could be applied

Metadata

Metadata

Assignees

No one assigned

    Labels

    EvaluatedIssue: 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.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions