Skip to content

Bundle Product discounts not saved to quote_item table  #35165

Open
@hcmlopes

Description

@hcmlopes

Preconditions (*)

  1. Magento 2.4.3-p1

Steps to reproduce (*)

  1. Create Cart Price Rule for 10%
  2. Add Bundle Product to cart
  3. Check column row_total_with_discount, discount_amount, base_discount_amount, discount_percent in database table quote_item
  4. Check API /rest/<STORE_CODE>/V1/guest-carts/<CART_ID>/totals

Expected result (*)

  1. The fields are being calculated properly and stored in the database and therefore are properly returned via API

Actual result (*)

image

Additional Info (*)

  1. Database shows rule 14 should be applied which in this case applies 10%. This can be seen in the checkout where the discount does apply as expected.
    image
  2. Partially related issue row_total_with_discount not calculated #34288

Severity assessment

  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Ready for Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions