12 <?php $parentItem =
$block->getItem() ?>
13 <?php
$items = array_merge([$parentItem->getOrderItem()], $parentItem->getOrderItem()->getChildrenItems()) ?>
14 <?php $shipItems =
$block->getChildren($parentItem) ?>
17 <?php $_prevOptionId =
'' ?>
21 <?php
if (
$block->getItemOptions() || $parentItem->getDescription() || $this->helper(
'Magento\GiftMessage\Helper\Message')->isMessagesAllowed(
'order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
22 <?php $_showlastRow =
true ?>
24 <?php $_showlastRow =
false ?>
27 <?php
if (
$_item->getParentItem()): ?>
29 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
30 <tr
class=
"options-label">
31 <td colspan=
"3" class=
"col label"><div
class=
"option label"><?=
$attributes[
'option_label'] ?></div></td>
36 <tr
id=
"order-item-row-<?= /* @escapeNotVerified */ $_item->getId() ?>" class=
"<?php if ($_item->getParentItem()): ?>item-options-container<?php else: ?>item-parent<?php endif; ?>"<?php
if (
$_item->getParentItem()): ?> data-th=
"<?= /* @escapeNotVerified */ $attributes['option_label'] ?>"<?php
endif; ?>>
37 <?php
if (!
$_item->getParentItem()): ?>
38 <td
class=
"col name" data-th=
"<?= $block->escapeHtml(__('Product Name')) ?>">
39 <strong
class=
"product name product-item-name"><?=
$block->escapeHtml(
$_item->getName()) ?></strong>
42 <td
class=
"col value" data-th=
"<?= $block->escapeHtml(__('Product Name')) ?>"><?=
$block->getValueHtml(
$_item) ?></td>
44 <td
class=
"col sku" data-th=
"<?= $block->escapeHtml(__('SKU')) ?>"><?=
$block->escapeHtml(
$_item->getSku()) ?></td>
45 <td
class=
"col qty" data-th=
"<?= $block->escapeHtml(__('Qty Shipped')) ?>">
46 <?php
if ((
$block->isShipmentSeparately() &&
$_item->getParentItem()) || (!
$block->isShipmentSeparately() && !
$_item->getParentItem())): ?>
47 <?php
if (isset($shipItems[
$_item->getId()])): ?>
48 <?= $shipItems[
$_item->getId()]->getQty()*1 ?>
61 <?php
if ($_showlastRow && (($_options =
$block->getItemOptions()) ||
$block->escapeHtml(
$_item->getDescription()))): ?>
63 <td
class=
"col options" colspan=
"3">
64 <?php
if ($_options =
$block->getItemOptions()): ?>
65 <dl
class=
"item-options">
66 <?php
foreach ($_options as
$_option) : ?>
68 <?php
if (!
$block->getPrintStatus()): ?>
69 <?php $_formatedOptionValue =
$block->getFormatedOptionValue(
$_option) ?>
70 <dd<?php
if (isset($_formatedOptionValue[
'full_view'])): ?>
class=
"tooltip wrapper"<?php
endif; ?>>
71 <?= $_formatedOptionValue[
'value'] ?>
72 <?php
if (isset($_formatedOptionValue[
'full_view'])): ?>
73 <div
class=
"tooltip content">
74 <dl
class=
"item options">
76 <dd><?= $_formatedOptionValue[
'full_view'] ?></dd>
</td ></tr > $_prevOptionId endif
elseif(isset( $params[ 'redirect_parent']))
$_count $_index $_prevOptionId if($block->getOrderOptions()|| $_item->getDescription()) foreach( $items as $_item)( $_item) ?><?php $attributes if( $_item->getOrderItem() ->getParentItem())($_prevOptionId !=$attributes['option_id'])</td >< td > & nbsp