update
This commit is contained in:
53
template/partial/Product/View.tpl
Normal file
53
template/partial/Product/View.tpl
Normal file
@@ -0,0 +1,53 @@
|
||||
<h1 class="siteTitle">{$objElement->GetName()}</h1>
|
||||
|
||||
{assign var=x value=1}
|
||||
<table width="100%" class="commonTable" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td>Id</td>
|
||||
|
||||
<td>{$objProduct->GetId()}</td>
|
||||
|
||||
</tr>
|
||||
|
||||
{foreach from=$arrayObjAttribute item=objAttribute}
|
||||
|
||||
{if $objAttribute->GetValue()}
|
||||
<tr>
|
||||
|
||||
<td>{$objAttribute->GetDescription()}</td>
|
||||
|
||||
<td>{$objAttribute->GetValue()}</td>
|
||||
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<tr>
|
||||
<td>{translate word='opis'}</td>
|
||||
|
||||
<td>{$objProduct->GetDescription()}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{if $objProduct->GetPicture()}
|
||||
<a href="{$objProduct->GetPictureUrl()}" class="gallery" style="float: left; margin-right: 15px; margin-bottom: 15px;"><img src="{$objProduct->GetPictureMiniUrl()}" alt="{$objProduct->GetName()|escape}" title="{$objProduct->GetName()|escape}" border="0" /></a>
|
||||
{/if}
|
||||
{assign var=arrayImage value= $objProduct->getArrayImage()}
|
||||
{foreach from=$arrayImage item=image}
|
||||
<a href="{$image->GetFullUrlId($objProduct->GetId(), 'Product')}" class="gallery" style="float: left; margin-right: 15px; margin-bottom: 15px;"><img src="{$image->GetFullUrlMiniId($objProduct->GetId(), 'Product')}" alt="{$objProduct->GetName()|escape}" title="{$objProduct->GetName()|escape}" border="0" /></a>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align: center;">
|
||||
{translate word='Niniejsza informacja handlowa nie jest ofertą w rozumieniu prawa'}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
Reference in New Issue
Block a user