Skip to content

Instantly share code, notes, and snippets.

@eerohakio
Created March 10, 2022 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eerohakio/d6fe2bb493c1ff57f43a046cd1f0e749 to your computer and use it in GitHub Desktop.
Save eerohakio/d6fe2bb493c1ff57f43a046cd1f0e749 to your computer and use it in GitHub Desktop.
Magento 2 issue 29817 patch
diff --git a/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml b/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml
index 7ddfc068..cf30e0e2 100644
--- a/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml
+++ b/vendor/magento/module-shipping/view/adminhtml/templates/order/packaging/grid.phtml
@@ -60,7 +60,7 @@
<?php endif; ?>
<tr class="data-grid-controls-row data-row <?= ($i++ % 2 != 0) ? '_odd-row' : '' ?>">
<td class="data-grid-checkbox-cell">
- <?php $id = $item->getId() ?? $item->getOrderItemId(); ?>
+ <?php $id = $item->getOrderItemId() ?? $item->getId(); ?>
<label class="data-grid-checkbox-cell-inner">
<input type="checkbox"
name=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment