Commit 904ee183 by lmf

Merge branch 'master' of http://47.99.244.21:9999/root/joshine

parents 8efcae23 15b760b0
......@@ -43,15 +43,20 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima
</strong>
<?php if ($_options = $block->getOptionList()) :?>
<dl class="item-options">
<?php foreach ($_options as $_option) :?>
<?php
$_options_length = count($_options);
foreach ($_options as $k=>$_option) :
$new_k = $k +1;
?>
<?php $_formatedOptionValue = $block->getFormatedOptionValue($_option) ?>
<dt><?= $block->escapeHtml($_option['label']) ?></dt>
<!-- <dt>--><?//= $block->escapeHtml($_option['label']) ?><!--</dt>-->
<dd>
<?php if (isset($_formatedOptionValue['full_view'])) :?>
<?= $block->escapeHtml($_formatedOptionValue['full_view']) ?>
<?php else :?>
<?= $block->escapeHtml($_formatedOptionValue['value'], ['span', 'a']) ?>
<?php endif; ?>
<?php if($new_k != $_options_length) :?>, <?php endif;?>
</dd>
<?php endforeach; ?>
</dl>
......
......@@ -72,3 +72,13 @@ button, .action.primary{
.box-tocart .fieldset{
gap: 0;
}
//cat
#shopping-cart-table dl.item-options{
display: flex;
}
#shopping-cart-table dl.item-options dd{
color: rgb(153, 153, 153);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment