Added brand information
This commit is contained in:
@@ -101,6 +101,10 @@
|
||||
<h1 class="name"><span itemprop="name">{$TITLE}</span></h1>
|
||||
{if $REF}<span itemprop="sku" class="sku">{intl l='Ref.'}: {$REF}</span>{/if}
|
||||
|
||||
{loop name="brand_info" type="brand" product="{$ID}"}
|
||||
<p><a href="{$URL}" title="{intl l="More information about this brand"}"><span itemprop="brand">{$TITLE}</span></a></p>
|
||||
{/loop}
|
||||
|
||||
{if $POSTSCRIPTUM}<div class="short-description">
|
||||
<p>{$POSTSCRIPTUM}</p>
|
||||
</div>{/if}
|
||||
@@ -230,10 +234,39 @@
|
||||
{/capture}
|
||||
{/strip}
|
||||
|
||||
{strip}
|
||||
{capture "brand_info"}
|
||||
{loop name="brand_info" type="brand" product="{$ID}"}
|
||||
<p><strong><a href="{$URL}">{$TITLE}</a></strong></p>
|
||||
|
||||
{loop name="brand.image" type="image" source="brand" id={$LOGO_IMAGE_ID} width=218 height=146 resize_mode="borders"}
|
||||
<p><a href="{$URL}"><img itemprop="image" src="{$IMAGE_URL}" alt="{$TITLE}"></a></p>
|
||||
{/loop}
|
||||
|
||||
{if $CHAPO}
|
||||
<div class="chapo">
|
||||
{$CHAPO}
|
||||
</div>
|
||||
{/if}
|
||||
{if $DESCRIPTION}
|
||||
<div class="description">
|
||||
{$DESCRIPTION nofilter}
|
||||
</div>
|
||||
{/if}
|
||||
{if $POSTSCRIPTUM}
|
||||
<small class="postscriptum">
|
||||
{$POSTSCRIPTUM}
|
||||
</small>
|
||||
{/if}
|
||||
{/loop}
|
||||
{/capture}
|
||||
{/strip}
|
||||
|
||||
<section id="product-tabs">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li class="active" role="presentation"><a id="tab1" href="#description" data-toggle="tab" role="tab">{intl l="Description"}</a></li>
|
||||
{if $smarty.capture.additional ne ""}<li role="presentation"><a id="tab2" href="#additional" data-toggle="tab" role="tab">{intl l="Additional Info"}</a></li>{/if}
|
||||
{if $smarty.capture.brand_info ne ""}<li role="presentation"><a id="tab3" href="#brand_info" data-toggle="tab" role="tab">{intl l="Brand information"}</a></li>{/if}
|
||||
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
@@ -245,6 +278,11 @@
|
||||
{$smarty.capture.additional nofilter}
|
||||
</div>
|
||||
{/if}
|
||||
{if $smarty.capture.brand_info ne ""}
|
||||
<div class="tab-pane" id="brand_info" role="tabpanel" aria-labelledby="tab3">
|
||||
{$smarty.capture.brand_info nofilter}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</section>
|
||||
</article><!-- /#product -->
|
||||
|
||||
Reference in New Issue
Block a user