Skip to content

Apply shopping cart rule to a single bundle item #28921

Closed
@MilanFrajt

Description

@MilanFrajt

Preconditions (*)

Magento ver. 2.3.5-p1

Steps to reproduce (*)

  1. Create a bundle product with two option each contain two product in it
  2. Create one option as main as the title with two simple product (a&b) - (Dropdown)
  3. Create the second option as a sub as the title with two simple product(c&d)- (Checkbox)
  4. Create a shopping cart rule
  5. Select a "percent of product price discount"
  6. Add 10 % to the discount amount
  7. We should add the main option two product in the rule like( SKU is one of (a&b)
  8. Apply the rule
  9. Go to the frontend
  10. Select one SKU from the dropdown of the main simple product and checkbox one sub simple product
  11. Add to cart
  12. Go to cart page
  13. Check the discount is applied total of two product

Expected result (*)

10% discount is applied ONLY on BUNDLE child product SKU001 (this behavior worked faultless on Magento 1.8.X)
The discount should be applied only for the main simple product

Actual result (*)

10% discount is applied on BUNDLE parent product, thus both of simple products are discounted...
bundle_issue

Additional information
more detailed steps and screens #28921 (Comment1) (comment 2)

Metadata

Metadata

Assignees

Labels

Component: RuleFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.3.5-p1Indicates original Magento version for the Issue report.Reproduced 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.Triage: DoneHas been reviewed and prioritized during Triage with Product Managers

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions