Skip to content

Tier pricing on configurables inc/ex vat prices are the same value #33673

Closed
@PhilipRowe

Description

@PhilipRowe

Preconditions (*)

  1. Magento 2.4.2-p1

Steps to reproduce (*)

  1. Go to Admin > Configuration > Sales > Tax
  2. Display settings > Display Product Prices In Catalog > set to: Including and Excluding Tax
  3. Calculation settings > Catalog Prices > Set to: Including Tax
  4. Setup tax rules so that prices have a tax amount showing
  5. Go to a configurable product on the frontend with tier pricing setup

Expected result (*)

  1. Tier prices show Inc and Ex tax prices that are different

Actual result (*)

  1. Tier prices show Inc and Ex tax prices that are the same values
    image

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

When pricing is set to display both and catalog prices include tax there is an issue where on configurable products tiered prices inc and ex vat prices are the same value (both inc)

vendor/magento/module-catalog/Pricing/Price/TierPrice.php getTierPriceList()
is: $exclTaxPrice = $this->calculator->getAmount($priceData['price'], $this->product, true);
should be: $exclTaxPrice = $this->calculator->getAmount($priceData['price'], $this->product);

The true param is meaning that the adjustments aren't being accounted for and therefore the price is always including vat

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions