Skip to content

Incorrect Grand Total in invoice created for bundle product order with two cart price rules applied. #39542

Open
@tkuczynski

Description

Preconditions and environment

  • Magento version 2.4.7-p2 with sample data is installed
  • Go to Stores > Attributes > Product.
  • Find sku attribute and enter to its edit page.
  • On Store Properties tab set option Use for Promo Rule Conditions to Yes.
  • Create two cart price rules:
  • one for all products with no coupon code and fixed amount discount (Discard subsequent rules - No)
    rule2
  • second with specific coupon code (yoga) and percent of product price discount for bundle product specified by sku
    rule1

Steps to reproduce

  • Navigate to storefront as login in.
  • Add to cart Sprite Yoga Companion Kit product (Gear > Fitness Equipment).
  • Go to cart (first rule is applied).
  • Aplly second rule by using coupon code yoga (second rule is appled).
  • Continue placing order.
  • Login to admin panel and go to edit page of last created order.
  • Create invoice for order.

Expected result

Grand total in invoice summary includes discounts for two used rules.

Actual result

Grand total in invoice summary is incorrect. Only one discount is included.
invoice

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

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.7-p2Indicates original Magento version for the Issue report.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions