Jump to content

Edit History

mbwebmaster

mbwebmaster

Hey everyone!

 

I'm working on a module to add more info to product features and i need to add code to the file product-details.tpl, more specifique:

{block name='product_features'}
    {if $product.grouped_features}
      <section class="product-features">
        <p class="h6">{l s='Data sheet' d='Shop.Theme.Catalog'}</p>
        <dl class="data-sheet">
          {foreach from=$product.grouped_features item=feature}
            <dt class="name">{$feature.name}</dt>
            <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>
          {/foreach}
        </dl>
      </section>
    {/if}
  {/block}

 

This block above.

 

I want to add more info inside

 <dd class="value">{$more_info_here}{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>

 

How can i do this? This block doesnt have any hooks :(

mbwebmaster

mbwebmaster

Hey everyone!

 

I'm working on a module to add more info to product features and i need to add code to the file product-details.tpl, more specifique:

{block name='product_features'}

    {if $product.grouped_features}

      <section class="product-features">

        <p class="h6">{l s='Data sheet' d='Shop.Theme.Catalog'}</p>

        <dl class="data-sheet">

          {foreach from=$product.grouped_features item=feature}

            <dt class="name">{$feature.name}</dt>

            <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>

          {/foreach}

        </dl>

      </section>

    {/if}

  {/block}

 

This block above.

 

I want to add more info inside

 <dd class="value">{$more_info_here}{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>

 

How can i do this? This block doesnt have any hooks :(

mbwebmaster

mbwebmaster

Hey everyone!

 

I'm working on a module to add more info to product features and i need to add code to the file product-details.tpl, more specifique:

{block name='product_features'}

    {if $product.grouped_features}

      <section class="product-features">

        <p class="h6">{l s='Data sheet' d='Shop.Theme.Catalog'}</p>

        <dl class="data-sheet">

          {foreach from=$product.grouped_features item=feature}

            <dt class="name">{$feature.name}</dt>

            <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>

          {/foreach}

        </dl>

      </section>

    {/if}

  {/block}

 

This block above.

 

I want to add more info inside <dd class="value">{$more_info_here}{$feature.value|escape:'htmlall'|nl2br nofilter}</dd>

 

How can i do this? This block doesnt have any hooks :(

×
×
  • Create New...