-
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
Configurable product regular price shown including tax while configured to show prices without tax #38800
Comments
Hi @oskar-olaussen. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @engcom-Dash. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://140446ec3105a28caa21c3d7b15762f4.instances-prod.magento-community.engineering |
Hello @engcom-Dash Sorry if I'm misunderstanding something, but your screenshot seems to verify to issue? The price in admin is 1000 and the configuration is that the admin price includes the tax. The frontend show the regular price as 1000 but according to the configurations it should be shown excluding the tax. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-12131 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Dash. Thank you for verifying the issue. |
Preconditions and environment
Magento version 2.4.6-p2
Tax class "Taxable Goods" set with some tax rate. I used 24%.
Tax settings:
tax/calculation/price_includes_tax set to 1 (Catalog prices: Including tax)
tax/display/type set to 1 (Display Product Prices In Catalog: Excluding tax)
Steps to reproduce
Expected result
The child's regular price is shown excluding tax.
Actual result
The child's regular price is shown including tax.
Here are the prices set in the admin:
Here is what is shown on the front end:
The regular price should be shown excluding the tax but is shown including the tax instead.
Additional information
One possible fix would be to get the value excluding tax here:
https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php#L299
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: