Skip to content

[Cart Rule] Incorrect discount amount applied for bundle products containing more than one option #30952

Closed
@sky-hub

Description

@sky-hub

Preconditions (*)

  1. Magento 2.4 (probably older versions too)
  2. Affects bundle products fixed cart discounts

Note: Because the $availableDiscountAmount is set to zero after processing the first item the other items will not have any discount applied.

Steps to reproduce (*)

  1. Install Magento 2.4 with sample data
  2. Create cart rule with fixed discount amount for whole cart (Ex: 50$)
  3. Add a bundle product to cart (Example: http://local.magento2.com/sprite-yoga-companion-kit.html)
  4. Navigate to checkout/cart page and check discount.

Expected result (*)

  1. Cart discount should be 50$
    image

Actual result (*)

  1. Cart discount is 18.85$
    image

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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”.

Fixed in: #30953

Metadata

Metadata

Assignees

Labels

Component: SalesRuleFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: 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