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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: OrderComponent: Order gridIssue: 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.Reported on 2.4.7-p2Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions