Skip to content

Salesrule Subselect with Quantity condition Fail to apply #39965

Open
@senthilengg

Description

@senthilengg

Preconditions and environment

  • Version 2.4.8 and below

Steps to reproduce

  1. Create a cart price rule with Qty >= 1 and any discount % . Ensure its a no coupon. Refer Screenshot below
    Image
  2. Add a product to cart

Expected result

Discount should apply

Actual result

Discount didn't apply

Additional information

Because of the below line of code which should return true if no conditions, similar to found and other classes

https://github.com/magento/magento2/blob/2.4.8/app/code/Magento/SalesRule/Model/Rule/Condition/Product/Subselect.php#L160

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Cart & CheckoutComponent: CatalogIssue: 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.Reported on 2.4.8Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions