Open bentideswell opened 1 year ago
Hi @bentideswell. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
@magento give me 2.4-develop instance
Hi @bentideswell. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hi @bentideswell, here is your Magento Instance: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering Admin access: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering/admin_c6dc Login: 422e9745 Password: 07ec4d0bca87
Issue recreated using the provided Magento instance here
You can see option price being displayed as $12.00 but price was entered as $10.00.
I had to change the tax country and default country to the United Kingdom as setting it as the United States didn't trigger the error. I've edited the initial comment/steps to include this. I've also tried using France and Ireland and both also had the bug present. Only the US did not.
@magento give me 2.4-develop instance
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo, here is your Magento Instance: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering Admin access: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering/admin_82e0 Login: d8e60e0c Password: 2f708bcd0126
@engcom-Bravo If it's helpful, I have an instance here that is configured to replicate the bug.
The option price was entered as $10 and product pricing configured to be entered inclusive and display inclusive, so it should display as $10, but you can see it as $12 in the custom options dropdown.
Hi @bentideswell,
Thank you for reporting and collaboration.
Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
Steps to reproduce
We have created tax rule for united kingdom and default country set to united kingdom.The custom Price showing $ 10.00.
Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible.
Please let us know if we are missing anything.
Thanks.
@engcom-Bravo did you set the price display and price calculation settings to Include Tax? This is the key part that causes the issue.
I can reconfigure your instance to show the error, however the instance is no longer available
@magento give me 2.4-develop instance
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo, here is your Magento Instance: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering Admin access: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering/admin_3254 Login: 7755635e Password: c8efd05b8b09
Hi @bentideswell,
Thanks for your update.
Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.
Steps to reproduce
We have set the price display and price calculation settings to Including tax.
We have created tax rule for united kingdom and default country set to united kingdom, but still Product custom price showing $10.00.
Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible.
Thanks.
@magento give me 2.4-develop instance
Hi @bentideswell. Thank you for your request. I'm working on Magento instance for you.
Hi @bentideswell, here is your Magento Instance: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering Admin access: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering/admin_ed9e Login: 0673aa5b Password: 4f37f3dbbb23
I've tested and I had missed a step which I thought wasn't relevant but was. Here are the updated steps:
Updated Steps to reproduce
The extra step is setting the 'Shopping cart Display Settings > Display Prices' to 'Including Tax' and flushing the full page cache (or just resaving the product).
I wouldn't have thought this setting would affect the product view page as we are not in the cart yet, but setting this and flushing the cache changes the option price to $12.00.
You can see this here on the latest instance I generated (if it's still up) but here's a screenshot:
@magento give me 2.4-develop instance
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-Bravo, here is your Magento Instance: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering Admin access: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering/admin_615b Login: ab629809 Password: 535447dd4eea
Hi @bentideswell,
Thanks for your update.
Verified the issue on Magento 2.4-develop instance and the issue is reproducible. Kindly refer the screenshots.
Steps to reproduce
Custom Price showing $12.00 which is incorrect.It should show $10.00 as per the configuration.
It is Working fine with US Tax Rule.
Hence Confirming the issue.
Thanks.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-8709 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
@magento I am working on this
@bentideswell
After a little research on the functionality, I can conclude that if the taxes for origin country of shipping, set in the configuration, and the default destination country in the tax calculation settings are different, then the customer tax will be added to the amount of product ( Instead of a store tax ).
Perhaps the option "Cros Border Trade" can provide the desired calculations. Or set the original country of delivery as UK (if the store does not intend to trade cross-border)
@engcom-Bravo Just want to clarify: is this really a bug, or this behavior is expected?
@magento give me 2.4.6-p3 instance
Hi @LucScu. Thank you for your request. I'm working on Magento instance for you.
Hi @LucScu, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.
@magento give me 2.4.6-p3 instance
Hi @LucScu. Thank you for your request. I'm working on Magento instance for you.
Hi @LucScu, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.
@magento give me 2.4.6-p3 instance
Hi @LucScu. Thank you for your request. I'm working on Magento instance for you.
Hi @LucScu, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.
@magento-team Does the automatic instance deployment feature no longer work?
@magento give me 2.4-develop instance
Hi @LucScu. Thank you for your request. I'm working on Magento instance for you.
Hi @LucScu, here is your Magento Instance: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering Admin access: https://ab81156ae7abd5c9da29e584face3978.instances-prod.magento-community.engineering/admin_5b71 Login: 77123c4c Password: 2030bd2182a8
Preconditions and environment
Steps to reproduce
Expected result
The website is configured to input prices including tax and then display them including tax. The product has a price of $0.00 and the option has a price of $10.00 so the option should display at $10.00. When added to the cart with this option, the price should be $10.00.
Actual result
The option price is $12.00 (assuming a 20% tax rate), which is incorrect. Product pricing is configured to be entered including tax so the $10 entered for the option should not have tax added to it.
Additional information
I first noticed this bug on 2.4.3-p3 but have tested this on a 2.4.6 CE install for this bug report and confirm it is still there.
When product prices are entered inculding tax and configured to display including tax, tax is added to option price, which is incorrect as this has been entered including tax.
I have since noticed that this bug only exists when setting the tax rule for the UK (which is what my client uses). When using the US, this does not occur. The only difference here potentially is the State field.
As a workout around users must enter their product custom option prices excluding tax. This is confusing as all other pricing on the site is entered inclusive of tax.
Release note
No response
Triage and priority