Closed kmrant closed 3 years ago
@kmrant, thank you for your report. We've acknowledged the issue and added to our backlog.
Hi @magento-engcom-team and @kmrant I think that this is the expected result because "Allow Multiple Boxes for Shipping" (is_decimal_divided). Depends of " Qty Uses Decimals" (is_qty_decimal). You can see at: https://github.com/magento/magento2/blob/6ce8b488e38f26773d7f05a2d93ecfe9746b40d2/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php#L67
Then is required enable "Qty Uses Decimals" for use "Allow Multiple Boxes for Shipping" in advanced inventory
Hi,
You are correct. It works if I choose "Qty Uses Decimals" yes. It would be good to have mention about this next to the "Allow Multiple Boxes for Shipping".
-- Best Regards, Kimmo Räntilä SatShop.fi Suomen satelliittikauppa Oy
25.1.2018, 18.04, enriquei4 kirjoitti:
Hi @magento-engcom-team https://github.com/magento-engcom-team and @kmrant https://github.com/kmrant I think that this is the expected result because "Allow Multiple Boxes for Shipping" (is_decimal_divided). Depends of is_qty_decimal. You can see at: https://github.com/magento/magento2/blob/6ce8b488e38f26773d7f05a2d93ecfe9746b40d2/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php#L67
Then is requiered enable "Qty Uses Decimals"
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/magento/magento2/issues/13342#issuecomment-360512315, or mute the thread https://github.com/notifications/unsubscribe-auth/AdXZlszYgzjNKvR3JQXMwqlguI69KBFyks5tOKX2gaJpZM4Rq7Cu.
Hi,
But I still can't create a shipment with 2 packages for 1 product. I tried to change number of products to 0,5 or 0.5 but it's still 1 and it's not possible to add same product to another package too.
-- Best Regards, Kimmo Räntilä SatShop.fi Suomen satelliittikauppa Oy
25.1.2018, 18.04, enriquei4 kirjoitti:
Hi @magento-engcom-team https://github.com/magento-engcom-team and @kmrant https://github.com/kmrant I think that this is the expected result because "Allow Multiple Boxes for Shipping" (is_decimal_divided). Depends of is_qty_decimal. You can see at: https://github.com/magento/magento2/blob/6ce8b488e38f26773d7f05a2d93ecfe9746b40d2/app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/StockDataFilter.php#L67
Then is requiered enable "Qty Uses Decimals"
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/magento/magento2/issues/13342#issuecomment-360512315, or mute the thread https://github.com/notifications/unsubscribe-auth/AdXZlszYgzjNKvR3JQXMwqlguI69KBFyks5tOKX2gaJpZM4Rq7Cu.
I think that this feature works if you have 2 items (or more) and want to send it separatelly, not to split 1 product in different boxes. @magento-engcom-team right?
Also @magento-engcom-team, could I create a hotfix to make the field "Allow Multiple Boxes for Shipping" depending on "Qty Uses Decimals" in admin?
@magento-engcom-team why "Allow multiple boxes for shipping" is depending on "qty uses decimals"?
I'm selling big products which are shipped in multiple packages, but there is no point in selling partial products. So the qty should be integer, but I need to split it into multiple packages when shipping. Currently this cannot be done as it should be enabling only the "Allow multiple boxes for shipping", but leaving "qty uses decimals" to false. Futhermore at order shipping grid the input does not even read the multiple boxes setting. See: https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Shipping/view/adminhtml/templates/order/packaging/grid.phtml#L91
I think these two settings should be separated.
Hi @engcom-Delta. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
[ ] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 2. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 3. If the issue is not relevant or is not reproducible any more, feel free to close it.
:white_check_mark: Confirmed by @engcom-Delta
Thank you for verifying the issue. Based on the provided information internal tickets MC-30157
were created
Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
Hi @madhu-ranosys. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
[ ] 1. Add/Edit Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 2. Verify that the issue is reproducible on 2.4-develop
branchDetails
- Add the comment @magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
[ ] 3. If the issue is not relevant or is not reproducible any more, feel free to close it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions.
Hi @kmrant.
Thank you for your report and collaboration!
The related internal Jira ticket MC-30157
was closed as Fixed
.
The fix will be available with the upcoming 2.4.3
release.
Hi @kmrant.
Thank you for your report and collaboration!
The related internal Jira ticket
MC-30157
was closed asFixed
.The fix will be available with the upcoming
2.4.3
release.
Is the fix that that its clearly visible that Allow Multiple Boxes for Shipping depends on decimal qty OR are we now allowed to create multiple packages for a single product?
I believe that this issue should be reopened, as the behavior where the is_decimal_divided
attribute is depending on the is_qty_decimal
attribute does not make sense.
If a product can be sold in fractions, it should also be possible to ship it in fraction following common logic. The is_decimal_divided
attribute should instead allow to divide a product that is only sold in increment of 1 into fractions for shipping, where it wouldn't be possible otherwise, as mentioned by @pemann.
Since it is already possible to ship a product having its is_qty_decimal
attribute value set to true by default, the is_decimal_divided
attribute does not serve any useful purpose.
My understanding is that these should be completely independent, where is_decimal_divided
should control the shipping behavior only, under all circumstances.
An example of where this behavior would be limiting includes situations where merchants would create any kind of product bundle using the simple product type for convenience, since it does not require creating multiple product SKUs. When time comes for shipping, it is sometimes necessary to split the bundle into different parts, which is not currently possible.
After searching for is_decimal_divided
in the different Magento modules and proceeding to a few tests, it seems that the is_decimal_divided
attribute value is not actually used anywhere and does not have any impact on shipping.
It would be useful if it could override the condition setting the qty-decimal class in the file below, allowing to use decimals for shipping if the is_decimal_divided
attribute is set to true.
File: app/code/Magento/Shipping/view/adminhtml/templates/order/packaging/grid.phtml Line: 109
<?php if ($item->getOrderItem()->getIsQtyDecimal()): ?>
qty-decimal
<?php endif ?>">
With the current behavior, it is literally impossible to sell a product that is not using a decimal qty and ship it in multiple boxes, as "Allow Multiple Boxes for Shipping" implies. Magento does not currently allow such a simple operation. This is an important issue, as this is a scenario that is commonly faced by merchants. In my opinion, this is one of many reasons why merchants are turning to alternative solutions for shipping instead of relying on the built-in functionalities.
Fields Definition:
Qty Uses Decimals = is_qty_decimal
Allow Multiple Boxes for Shipping = is_decimal_divided
Preconditions
Steps to reproduce
Expected result
Actual result