-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Area: AccountIssue: 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.Progress: doneReproduced 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 version: CE 2.4.4
Steps to reproduce
- Create a bundle product
- Allow "Qty Uses Decimals" in Advanced Inventory for bundle options
- Buy this bundle product with decimal options Qty like 1.5
- Check option Qty in the email / customer account / admin panel order details / invoice details / shipment details
Expected result
Bundle options Qty must be rendered everywhere according to amount you bought, in our case qty = 1.5
Actual result
Bundle options Qty is rendered only as an integer part, qty = 1
Additional information
This happens due to using sprintf('%d', $attributes['qty'])
, this '%d'
makes it using only integer part.
Needs to be fixed at least in \Magento\Bundle\Block\Adminhtml\Sales\Order\Items\Renderer
, \Magento\Bundle\Block\Adminhtml\Sales\Order\View\Items\Renderer
and \Magento\Bundle\Block\Sales\Order\Items\Renderer
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”.
Metadata
Metadata
Assignees
Labels
Area: AccountIssue: 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.Progress: doneReproduced 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
Done