-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
As low as displays incorrect pricing on category page, tax appears to be added twice #21383 #21395
As low as displays incorrect pricing on category page, tax appears to be added twice #21383 #21395
Conversation
… be added twice magento#21383 - excluded tax from min price
Hi @Jitheesh. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento-engcom-team give me test instance |
Hi @Jitheesh. Thank you for your request. I'm working on Magento instance for you |
Hi @Jitheesh, here is your new Magento instance. |
|
Hi @rogyar. Thank you for your request. I'm working on Magento instance for you |
Hi @rogyar, here is your new Magento instance. |
Hi @rogyar, thank you for the review. |
Hi @Jitheesh, thank you for your contribution! |
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 (*)