Jump to content

Edit History

EstebanGarviso

EstebanGarviso

Create a child theme and use this code or just copy and paste the block content into your theme.

{extends file='parent:catalog/_partials/product_details.tpl'}
{block name='product_features'}
    {if $product.grouped_features}
        <section class="product-features d-inline-block">
            <dl class="data-sheet">
                {foreach from=$product.grouped_features item=feature}
                    <div class="row no-gutters col-12 col-md-6">
                        <dt class="name">{$feature.name}</dt>
                        <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>
                    </div>
                {/foreach}
            </dl>
        </section>
    {/if}
{/block}

 

EstebanGarviso

EstebanGarviso

Create a child theme and use this code or just copy and paste the block content into your theme.

{extends file='parent:catalog/_partials/product_details.tpl'}
{block name='product_features'}
    {if $product.grouped_features}
        <section class="product-features d-inline-block">
            <dl class="data-sheet">
                {foreach from=$product.grouped_features item=feature}
                    <div class="row no-gutters col-12 col-md-6">
                        <dt class="name">{$feature.name}</td>
                        <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</td>
                    </div>
                {/foreach}
            </dl>
        </section>
    {/if}
{/block}

 

×
×
  • Create New...