Location: PHPKode > projects > Blandware AtLeap Lite - CMS on PHP > atleaplite/smarty/templates/commodity/show.tpl
{* Smarty template *}

{if $ancestorsNumber > 0}
    {message assign=prev key='breadCrumbs.top'}
    {foreach from=$ancestors item=ancestor name=ancestors}
        {if !$smarty.foreach.ancestors.first}/{/if}
        <a href="{buildUrl id=$ancestor->parent_id friendly='category'}" id="size11">{$prev|escape}</a>
        {assign var=prev value=$ancestor->title}
    {/foreach}
    /
    <a href="{buildUrl id=$commodity->category_id friendly='category'}" id="size11">{$prev|escape}</a>
{/if}


<p>
<table border="0">
<tr>
	<td valign="top" align="center">
{message key='commodity.form.orderNumber'}: <strong>{$commodity->order_number|escape}</strong>
<br>
{if $commodity->hasImage()}
    <div class="commodityImageThumbnail">
    {assign var='commodityImageId' value=$commodity->image_id}
    {include file='commodity/image_thumbnail.tpl'}
    </div>
{/if}
	</td>
	<td>
        {$commodity->description}
	</td>
</tr>
</table>
</p>



{if !$attributesAreEmpty}
<h3>{message key='commodity.form.attributes'}</h3>
<table class="tableView">
    {foreach from=$attributes item=attribute}
       	<tr>
		  	<th>{$attribute->title|escape}</th>
	      	<td><strong>{$attribute->value|escape}</strong></td>
       	</tr>
    {/foreach}
</table>
{/if}

<br>
{buildUrl assign='buttonUrl' id=$commodity->category_id friendly='category'}
<a href="{$buttonUrl}">{message key='common.button.back'}</a>

Return current item: Blandware AtLeap Lite - CMS on PHP