Skip to content

Instantly share code, notes, and snippets.

@ChristopherDosin ChristopherDosin/index.tpl
Last active Oct 26, 2016

Embed
What would you like to do?
frontend/detail/index.tpl
{extends file='parent:frontend/detail/index.tpl'}
{block name='frontend_detail_data_attributes' append}
{* Product attribute 4 *}
{block name='frontend_detail_data_attributes_attr4'}
{if $sArticle.attr4}
<li class="base-info--entry entry-attribute">
<strong class="entry--label">
{s name="DetailAttributeField4Label"}{/s}:
</strong>
<span class="entry--content">
{$sArticle.attr4|escape}
</span>
</li>
{/if}
{/block}
{* Product attribute 5 *}
{block name='frontend_detail_data_attributes_attr5'}
{if $sArticle.attr5}
<li class="base-info--entry entry-attribute">
<strong class="entry--label">
{s name="DetailAttributeField5Label"}{/s}:
</strong>
<span class="entry--content">
{$sArticle.attr5|escape}
</span>
</li>
{/if}
{/block}
{* Product attribute 6 *}
{block name='frontend_detail_data_attributes_attr6'}
{if $sArticle.attr6}
<li class="base-info--entry entry-attribute">
<strong class="entry--label">
{s name="DetailAttributeField6Label"}{/s}:
</strong>
<span class="entry--content">
{$sArticle.attr6|escape}
</span>
</li>
{/if}
{/block}
{* Product attribute 7 *}
{block name='frontend_detail_data_attributes_attr7'}
{if $sArticle.attr7}
<li class="base-info--entry entry-attribute">
<br />
<strong class="entry--label">
{s name="DetailAttributeField7Label"}{/s}:
</strong>
<span class="entry--content">
{$sArticle.attr7}
</span>
</li>
{/if}
{/block}
{* Product attribute 8 *}
{block name='frontend_detail_data_attributes_attr8'}
{if $sArticle.attr8}
<li class="base-info--entry entry-attribute">
<br />
<strong class="entry--label">
{s name="DetailAttributeField8Label"}{/s}:
</strong>
<br />
<span class="entry--content">
{$sArticle.attr8}
</span>
</li>
{/if}
{/block}
{/block}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.