Artikelseite aufgehübst

This commit is contained in:
BlubbFish 2020-04-16 17:04:01 +02:00
parent a4fabddffa
commit 802b3a9bf7
2 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{extends file="parent:frontend/detail/content/buy_container.tpl"}
{block name='frontend_detail_data_attributes'}
{* Product attribute 1 *}
{block name='frontend_detail_data_attributes_attr1'}
{if $sArticle.attr1}
<li class="base-info--entry entry-attribute">
<strong class="entry--label">
{s name="DetailAttributeField1Label" namespace="frontend/detail/index"}{/s}:
</strong>
<span class="entry--content">
{$sArticle.attr1|escape}
</span>
</li>
{/if}
{/block}
{* Product attribute 2 *}
{block name='frontend_detail_data_attributes_attr2'}
{if $sArticle.attr2}
<li class="base-info--entry entry-attribute">
<strong class="entry--label">
{s name="DetailAttributeField2Label" namespace="frontend/detail/index"}{/s}:
</strong>
<span class="entry--content">
{$sArticle.attr2|escape}
</span>
</li>
{/if}
{/block}
{* 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" namespace="frontend/detail/index"}{/s}:
</strong>
<span class="entry--content">
{$sArticle.attr4|escape}
</span>
</li>
{/if}
{/block}
{/block}

View File

@ -0,0 +1,25 @@
{extends file="parent:frontend/detail/tabs/description.tpl"}
{* Comment - Item open text fields attr3 *}
{block name='frontend_detail_description_our_comment'}
{if $sArticle.attr3 || $sArticle.attr6}
{* Comment title *}
{block name='frontend_detail_description_our_comment_title'}
<div class="content--title">
{s name='DetailDescriptionComment'}{/s}
</div>
{/block}
{block name='frontend_detail_description_our_comment_title_content'}
{if $sArticle.attr6}
<div class="product--description" itemprop="description">
<strong>{s name='DetailDescriptionAttr5'}{/s}</strong> {$sArticle.attr6}
</div>
{/if}
{if $sArticle.attr3}
<div class="product--description" itemprop="description">
<strong>{s name='DetailDescriptionAttr3'}{/s}</strong> {$sArticle.attr3}
</div>
{/if}
{/block}
{/if}
{/block}