File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/code/Magento/Checkout/view/frontend/templates/cart/item Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,11 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima
48
48
<dt><?= $ block ->escapeHtml ($ _option ['label ' ]) ?> </dt>
49
49
<dd>
50
50
<?php if (isset ($ _formatedOptionValue ['full_view ' ])) :?>
51
- <?= $ block ->escapeHtml ($ _formatedOptionValue ['full_view ' ]) ?>
51
+ <?php if (strlen ($ _formatedOptionValue ['full_view ' ]) <= 100 ) :?>
52
+ <?= $ block ->escapeHtml ($ _formatedOptionValue ['full_view ' ]) ?>
53
+ <?php else :?>
54
+ <?= $ block ->escapeHtml ($ _formatedOptionValue ['value ' ], ['span ' , 'a ' ]) ?>
55
+ <?php endif ; ?>
52
56
<?php else :?>
53
57
<?= $ block ->escapeHtml ($ _formatedOptionValue ['value ' ], ['span ' , 'a ' ]) ?>
54
58
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments