-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport] As low as displays incorrect pricing on category page, tax appears to be added twice #21383 #21527
[Backport] As low as displays incorrect pricing on category page, tax appears to be added twice #21383 #21527
Conversation
… be added twice magento#21383 - excluded tax from min price
Hi @eduard13. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@eduard13 unfortunately, only members of the maintainers team are allowed to assign developers to the pull request |
Hi @rogyar, thank you for the review. |
✔️ QA Passed |
Hi @eduard13, thank you for your contribution! |
I have upgraded to 2.3.1 and the issue appears in that version too. |
Original Pull Request
#21395
Description (*)
While calculating minimal price, MinimalTierPriceCalculator is applying tax twice.
magento2/app/code/Magento/Catalog/Pricing/Price/MinimalTierPriceCalculator.php
Lines 35 to 49 in 94383aa
Above function is returning minimum price with tax, and then Magento is applying tax again while returning calculated amount of minimum price
magento2/app/code/Magento/Catalog/Pricing/Price/MinimalTierPriceCalculator.php
Lines 55 to 63 in 94383aa
Issue can be fixed by excluding 'tax' while calculating return amount.
Fixed Issues (if relevant)
Manual testing scenarios (*)
1.1 Add 20% tax rate for UK shipping address
Contribution checklist (*)