Skip to content

Bundle Product Discount Amount is not set in quote_item table #40276

@senthilengg

Description

@senthilengg

Preconditions and environment

  • Magento version 2.4.8

Steps to reproduce

  1. Create a Cart price rule for 1% product price discount with no conditions and no actions conditions
  2. Add the bundle product "[Sprite Yoga Companion Kit]" from the installed sample data package
  3. Check Quote Item table discount_amount

Expected result

  1. discount_amount should be greater than zero in quote_item table
  2. base_subtotal_with_discount should be subtotal-discount amount in quote table
  3. checkout/cart ui should display right discount amount and total

Actual result

  1. discount_amount is zero in quote_item table
  2. base_subtotal_with_discount is same as subtotal
  3. checkout/cart ui displaying correct data
Image

Additional information

Bug introduced by ACP2E-3491: Cart rule sku condition is failing for invoice.

Fixing this ticket will help : #40235 (since discount amount was referred from extension attributes for bundle products due to this bug.)

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

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.8Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions