Skip to content

Instantly share code, notes, and snippets.

@ChristopherDosin
Last active October 26, 2016 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChristopherDosin/6b3167fdf496b3028c13ed5fb2e8f412 to your computer and use it in GitHub Desktop.
Save ChristopherDosin/6b3167fdf496b3028c13ed5fb2e8f412 to your computer and use it in GitHub Desktop.
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