13 <?php
$items = array_merge([
$_item->getOrderItem()],
$_item->getOrderItem()->getChildrenItems()) ?>
18 <?php $_prevOptionId =
'' ?>
20 <?php
if (
$block->getOrderOptions() ||
$_item->getDescription()): ?>
21 <?php $_showlastRow =
true ?>
23 <?php $_showlastRow =
false ?>
28 <?php
if (
$_item->getParentItem()): ?>
30 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
32 <td
class=
"col-product"><div
class=
"option-label"><?=
$attributes[
'option_label'] ?></div></td>
33 <td
class=
"col-qty last">&
nbsp;</td>
38 <tr<?= (++$_index ==
$_count && !$_showlastRow) ?
' class="border"' :
'' ?>>
39 <?php
if (!
$_item->getParentItem()): ?>
40 <td
class=
"col-product">
41 <div
class=
"product-title"><?=
$block->escapeHtml(
$_item->getName()) ?></div>
42 <div
class=
"product-sku-block">
43 <span><?=
__(
'SKU') ?>:</span>
44 <?= implode(
'<br />', $this->helper(
'Magento\Catalog\Helper\Data')->splitSku(
$block->escapeHtml(
$_item->getSku()))) ?>
48 <td
class=
"col-product"><div
class=
"option-value"><?=
$block->getValueHtml(
$_item) ?></div></td>
50 <td
class=
"col-qty last">
51 <?php
if ((
$block->isShipmentSeparately() &&
$_item->getParentItem()) || (!
$block->isShipmentSeparately() && !
$_item->getParentItem())): ?>
52 <?php
if (isset($shipItems[
$_item->getId()])): ?>
53 <?= $shipItems[
$_item->getId()]->getQty()*1 ?>
65 <?php
if ($_showlastRow): ?>
67 <td
class=
"col-product">
68 <?php
if (
$block->getOrderOptions(
$_item->getOrderItem())): ?>
69 <dl
class=
"item-options">
71 <dt><?=
$option[
'label'] ?></dt>
73 <?php
if (isset(
$option[
'custom_view']) &&
$option[
'custom_view']): ?>
76 <?=
$block->truncateString(
$option[
'value'], 55,
'', $_remainder) ?>
77 <?php
if ($_remainder):?>
78 ... <span
id=
"<?= /* @escapeNotVerified */ $_id = 'id' . uniqid() ?>"><?= $_remainder ?></span>
80 require([
'prototype'],
function(){
82 $(
'<?= /* @escapeNotVerified */ $_id ?>').hide();
83 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseover',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').show();});
84 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseout',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').hide();});
96 <td
class=
"last">&
nbsp;</td>
</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