11 <?php $parentItem =
$block->getItem() ?>
14 <?php
$_order =
$block->getItem()->getOrderItem()->getOrder() ?>
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->getOrderItem()->getParentItem()): ?>
29 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
30 <tr
class=
"options-label">
31 <td
class=
"col label" colspan=
"7"><div
class=
"option label"><?=
$attributes[
'option_label'] ?></div></td>
36 <tr
id=
"order-item-row-<?= /* @escapeNotVerified */ $_item->getId() ?>" class=
"<?php if ($_item->getOrderItem()->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->getOrderItem()->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 price" data-th=
"<?= $block->escapeHtml(__('Price')) ?>">
52 <td
class=
"col qty" data-th=
"<?= $block->escapeHtml(__('Quantity')) ?>">
59 <td
class=
"col subtotal" data-th=
"<?= $block->escapeHtml(__('Subtotal')) ?>">
66 <td
class=
"col discount" data-th=
"<?= $block->escapeHtml(__('Discount Amount')) ?>">
68 <?=
$block->getOrder()->formatPrice(-
$_item->getDiscountAmount()) ?>
73 <td
class=
"col rowtotal" data-th=
"<?= $block->escapeHtml(__('Row Total')) ?>">
83 <?php
if ($_showlastRow && (($_options =
$block->getItemOptions()) ||
$block->escapeHtml(
$_item->getDescription()))): ?>
85 <td
class=
"col options" colspan=
"7">
86 <?php
if ($_options =
$block->getItemOptions()): ?>
87 <dl
class=
"item-options">
88 <?php
foreach ($_options as
$_option) : ?>
90 <?php
if (!
$block->getPrintStatus()): ?>
91 <?php $_formatedOptionValue =
$block->getFormatedOptionValue(
$_option) ?>
92 <dd<?php
if (isset($_formatedOptionValue[
'full_view'])): ?>
class=
"tooltip wrapper"<?php
endif; ?>>
93 <?= $_formatedOptionValue[
'value'] ?>
94 <?php
if (isset($_formatedOptionValue[
'full_view'])): ?>
95 <div
class=
"tooltip content">
96 <dl
class=
"item options">
98 <dd><?= $_formatedOptionValue[
'full_view'] ?></dd>
</td ></tr > $_prevOptionId endif
$_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