diff --git a/vendor/magento/module-rma/view/frontend/templates/return/create.phtml b/vendor/magento/module-rma/view/frontend/templates/return/create.phtml index 4783b8dacca5..566b83d41c20 100644 --- a/vendor/magento/module-rma/view/frontend/templates/return/create.phtml +++ b/vendor/magento/module-rma/view/frontend/templates/return/create.phtml @@ -34,7 +34,7 @@ data-args='{"index":<%- data._index_ %>}'> getAvailableQty($_item); ?> - + getProduct() !== null): ?> getId(); $productType = $_item->getProductType(); @@ -49,7 +49,7 @@ getParentItemId() || $_item->getParentItemId() != $bundleID): ?> escapeHtmlAttr($_item->getProductType()) . '_' . $block->escapeHtmlAttr($block->getAvailableQty($_item)) . '_' - . $block->escapeHtmlAttr($_item->getProduct()->getShipmentType()); + . $block->escapeHtmlAttr($shipmentType); ?>