{* Smarty template *}
<table cellpadding="0" cellspacing="0" border="0" class="tableView">
<tr>
<th>{message key='commodity.form.title'}</th>
<td>{$viewed->title|escape}</td>
</tr>
<tr>
<th>{message key='commodity.form.orderNumber'}</th>
<td>{$viewed->order_number|escape}</td>
</tr>
</table>
<h2>{message key='commodity.form.description'}</h2>
<div class="contentHolder">
{$viewed->description}
</div>
<h2>{message key='commodity.form.image'}</h2>
<div class="contentHolder">
{if $viewed->hasImage()}
{assign var='commodityImageId' value=$viewed->image_id}
{include file='commodity/image_thumbnail.tpl'}
{else}
{message key='common.isAbsent'}
{/if}
</div>
<h2>{message key='commodity.form.attributes'}</h2>
{if !$attributesAreEmpty}
<table cellpadding="0" cellspacing="0" border="0" class="tableView">
{foreach from=$attributes item=attribute}
<tr>
<td width="50%">
{$attribute->title|escape}
</td>
<td>
{$attribute->value|escape}
</td>
</tr>
{/foreach}
</table>
{else}
<div class="bottomMargin">
{message key='common.areAbsent'}
</div>
{/if}
{include file="after_view.tpl"}