12 <?php $parentItem =
$block->getItem() ?>
14 <?php
$items = array_merge([$parentItem->getOrderItem()], $parentItem->getOrderItem()->getChildrenItems()) ?>
15 <?php $shipItems =
$block->getChildren($parentItem) ?>
17 <?php
if (
$block->getItemOptions() || $parentItem->getDescription() || $this->helper(
'Magento\GiftMessage\Helper\Message')->isMessagesAllowed(
'order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
18 <?php $_showlastRow =
true ?>
20 <?php $_showlastRow =
false ?>
23 <?php $_prevOptionId =
'' ?>
27 <?php
if (
$_item->getParentItem()): ?>
29 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
30 <tr
class=
"bundle-option-label">
32 <strong><em><?=
$attributes[
'option_label'] ?></em></strong>
38 <?php
if (!
$_item->getParentItem()): ?>
39 <tr
class=
"bundle-item bundle-parent">
40 <td
class=
"item-info">
41 <p
class=
"product-name"><?=
$block->escapeHtml(
$_item->getName()) ?></p>
45 <tr
class=
"bundle-item bundle-option-value">
46 <td
class=
"item-info">
51 <?php
if ((
$block->isShipmentSeparately() &&
$_item->getParentItem()) || (!
$block->isShipmentSeparately() && !
$_item->getParentItem())): ?>
52 <?php
if (isset($shipItems[
$_item->getId()])): ?>
53 <?= $shipItems[
$_item->getId()]->getQty() * 1 ?>
67 <?php
if ($_showlastRow): ?>
69 <td colspan=
"2" class=
"item-extra">
70 <?php
if (
$block->getItemOptions()): ?>
73 <dt><strong><em><?=
$option[
'label'] ?></em></strong></dt>
74 <dd><?=
$option[
'value'] ?></dd>
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
if( $_item->getOrderItem() ->getParentItem())( $_item) ?><?php if( $_prevOptionId ! $_prevOptionId endif
$_item $_order $parentItem $items