Skip to content

Cart Price Rules not applying on shipping VAT when rule applied on whole cart #32468

Open
@Romz

Description

@Romz

Preconditions (*)

Magento 2.4.2
2.4-develop having EE and B2B Modules

Steps to reproduce (*)

Using Fresh magento installation with samples datas.

  1. Create a tax rate (20%) applied on both products and shipping.
  2. In Sales > Tax configuration Panel:
    1. Tax Class for Shipping : Taxable Goods
    2. Catalog Prices: Including Tax
    3. Shipping Prices: Including Tax
    4. Apply Discount On Prices: Including Tax
    5. Enable Cross BorderTrade : Yes
  3. Create a new cart rule
    1. Coupon: Specific Coupon
    2. Apply: Fixed amount discount for whole cart
    3. Discount Amount: 56
  4. Add a product in shopping cart (51$)
  5. Go to checkout and use a shipping methods: Flat Rate 5$
  6. Apply the cart rule using the coupon code

Expected result (*)

  1. -56$ dicount applied
  2. 0$ on Order total

Actual result (*)

  1. -55.17$ discount applied
  2. 0.83$ on order total

The discount seems to be only applied on Shipping amount excluding tax. In that case 4.17$.
That's explain the -55.17$ discount amount on shopping cart (51 + 4.17)

For more details about the issue and configuration, please check this link


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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

Assignees

No one assigned

    Labels

    Area: TaxComponent: TaxIssue: 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.Progress: ready for devReported on 2.4.2Indicates 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