22 <?php $_prevOptionId =
'' ?>
24 <?php
if (
$block->getOrderOptions() ||
$_item->getDescription()): ?>
25 <?php $_showlastRow =
true ?>
27 <?php $_showlastRow =
false ?>
32 <?php
if (
$_item->getOrderItem()->getParentItem()): ?>
34 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
36 <td
class=
"col-product"><div
class=
"option-label"><?=
$attributes[
'option_label'] ?></div></td>
42 <td
class=
"last">&
nbsp;</td>
47 <tr<?= (++$_index ==
$_count && !$_showlastRow) ?
' class="border"' :
'' ?>>
48 <?php
if (!
$_item->getOrderItem()->getParentItem()): ?>
49 <td
class=
"col-product">
50 <div
class=
"product-title"><?=
$block->escapeHtml(
$_item->getName()) ?></div>
51 <div
class=
"product-sku-block">
52 <span><?=
__(
'SKU') ?>:</span>
53 <?= implode(
'<br />', $this->helper(
'Magento\Catalog\Helper\Data')->splitSku(
$block->escapeHtml(
$_item->getSku()))) ?>
56 <td
class=
"col-product">
57 <div
class=
"option-value"><?=
$block->getValueHtml(
$_item) ?></div>
60 <td
class=
"col-price">
74 <td
class=
"col-subtotal">
83 <?=
$block->displayPriceAttribute(
'tax_amount') ?>
88 <td
class=
"col-discount">
90 <?=
$block->displayPriceAttribute(
'discount_amount') ?>
95 <td
class=
"col-total last">
104 <?php
if ($_showlastRow): ?>
106 <td
class=
"col-product">
107 <?php
if (
$block->getOrderOptions()): ?>
108 <dl
class=
"item-options">
110 <dt><?=
$option[
'label'] ?></dt>
112 <?php
if (isset(
$option[
'custom_view']) &&
$option[
'custom_view']): ?>
115 <?=
$block->truncateString(
$option[
'value'], 55,
'', $_remainder) ?>
116 <?php
if ($_remainder):?>
117 ... <span
id=
"<?= /* @escapeNotVerified */ $_id = 'id' . uniqid() ?>"><?= $_remainder ?></span>
119 require([
'protoype'],
function(){
121 $(
'<?= /* @escapeNotVerified */ $_id ?>').hide();
122 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseover',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').show();});
123 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseout',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').hide();});
133 <?=
$block->escapeHtml(
$block->getItem()->getDescription()) ?>
140 <td
class=
"last">&
nbsp;</td>
</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