Closed
Description
Preconditions (*)
- Magento 2.4.2-p1
Steps to reproduce (*)
- Go to Admin > Configuration > Sales > Tax
- Display settings > Display Product Prices In Catalog > set to: Including and Excluding Tax
- Calculation settings > Catalog Prices > Set to: Including Tax
- Setup tax rules so that prices have a tax amount showing
- Go to a configurable product on the frontend with tier pricing setup
Expected result (*)
- Tier prices show Inc and Ex tax prices that are different
Actual result (*)
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
Labels
Type
Projects
Status
Done