-
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
Fix configurable dropdown showing tax incorrectly in 2.3-develop #22466
Fix configurable dropdown showing tax incorrectly in 2.3-develop #22466
Conversation
… decreases on the configurable attribute dropdown. This fixes a bug introduced in PR magento#17695 as detailed on issue magento#22270
Hi @danielpfarmer. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @VladimirZaets, thank you for the review. |
@danielpfarmer thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
✔️ QA passed |
…o fix/configurable-dropdown-showing-tax
Hi @danielpfarmer, thank you for your contribution! |
Well this still doesn't solve the issue. Only the first item in the configurable product drop down is gets fixed. |
@EvaldasDau can you give more detail / Steps to replicate? Cheers |
@danielpfarmer Hey, thanks for reply. We applied the changes to m2 2.3.1 store local installation, ran setup upgrade and cleaned cache. Then when checking configurable products with drop down size options, noticed that the first option value was fixed; the + tax amount value no longer was displayed, however rest of the size options still had it. |
Description (*)
This pull request addresses an issue described in #22270 and introduced in #17695.
The issue is that the price increase calculation was previously based upon the configurable basePrice vs the optionFinalPrice rather than the configurable finalPrice vs the optionFinalPrice. This meant that the tax amount was also been added to the price difference calculation for each of the configurable options incorrectly.
Fixed Issues (if relevant)
Manual testing scenarios (*)all Magento 2.
Contribution checklist (*)