Skip to content

Cannot set discount to buy X items and get Y items free when Y is greater than X #37987

Open
@ioweb-gr

Description

@ioweb-gr

Preconditions and environment

  • 2.4.1

Steps to reproduce

Create a cart rule without a coupon that applies for product X in the conditions

image'

And gives product Y as a free product.

The use case is that I have a very expensive product like a Tennis Racket and I want to give a few balls which are really cheap as a gift when you buy a racket.

Obviously giving one small item is not much of a promo so we need to give 5 of them.

When Discount Amount is > Discount Qty Step (Buy X) the rule wont' activate
When Discount Amount is <= Discount Qty Step (Buy X) the rule applies fine

I've seen issue #28851 but I think it should be treated as a bug as it's a very limiting condition for promotions. Usually when you offer something free it may be one or more smaller products and this use case should be covered as well in my humble opinion.

Do you think you can review this again or reopen the older issue?

Expected result

The rule is applied

Actual result

The rule is not applied

Additional information

No response

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: PromotionComponent: CatalogRuleIssue: 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: ready for devReported on 2.4.1Indicates 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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions