-
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
Editing A Product in the backend Removes extra decimal places from product option pricing #39655
Comments
Hi @gusdemayo. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @gusdemayo , Thanks for your reporting and collaboration. Steps to reproduce :
Hence Confirming the issue. Thanks. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-14050 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Delta. Thank you for verifying the issue. |
Preconditions and environment
Magento 2.4
Steps to reproduce
{ "product": { "sku": "12345", "price": 20.00, "options": [ { "product_sku": "12345", "title": "UOM", "type": "radio", "is_require": false, "values": [ { "title": "Pack of 10", "sort_order": 1, "price": 2.334, "price_type": "percent", "sku": "PK" }, { "title": "Case of 100", "sort_order": 2, "price": 10.4443, "price_type": "fixed", "sku": "CS" } ] } ] } }
Notice that options in database contain the full decimal representation of the given price values
Open product in admin edit, make some trivial change, and click "Save"
Notice that the database has truncated to just 2 decimal places
Expected result
Pricing set with up to 6 decimal places should be respected when editing
Actual result
Pricing is truncated to 2 decimal places
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: