14 <?php $parentItem =
$block->getItem() ?>
15 <?php
$items = array_merge([$parentItem], $parentItem->getChildrenItems()); ?>
17 <?php
if (
$block->getItemOptions() ||
$_item->getDescription() || $this->helper(
'Magento\GiftMessage\Helper\Message')->isMessagesAllowed(
'order_item',
$_item) &&
$_item->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 <?=
$_item->getQtyOrdered() * 1 ?>
47 <td
class=
"item-price">
52 <tr
class=
"bundle-item bundle-option-value">
53 <td
class=
"item-info" colspan=
"3">
61 <?php
if ($_showlastRow): ?>
63 <td colspan=
"3" class=
"item-extra">
64 <?php
if (
$block->getItemOptions()): ?>
67 <dt><strong><em><?=
$option[
'label'] ?></em></strong></dt>
68 <dd><?=
$option[
'value'] ?></dd>
72 <?php
if (
$_item->getGiftMessageId() &&
$_giftMessage = $this->helper(
'Magento\GiftMessage\Helper\Message')->getGiftMessage(
$_item->getGiftMessageId())): ?>
73 <table
class=
"message-gift">
76 <h3><?=
__(
'Gift Message') ?></h3>
79 <br /><strong><?=
__(
'Message:') ?></strong>
if( $_item->getOrderItem() ->getParentItem())( $_item) ?><?php if( $_prevOptionId ! $_prevOptionId endif
$_item $_order $parentItem $items