-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Area: CatalogArea: ProductIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Reported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Preconditions and environment
Magento 2.4
Steps to reproduce
- Set percent pricing for product options via REST API
{ "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
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
KrasnoshchokBohdan
Metadata
Metadata
Assignees
Labels
Area: CatalogArea: ProductIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Reported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Type
Projects
Status
Ready for Development