это я понял. но тогда в product_brief их не будет. нельзя ли сделать какой нибудь product_brief_simpe.tpl.htm (копия product_brief ) отредактировать и его прописать в category.tpl.htm???
можно и так
убрал с product_brief.tpl.htm вот это
<table>
{foreach from=$options[$id] item=option key=key name=option}
<tr>
<td style="vertical-align: top">
<b>{$option.name}:</b>
</td>
<td>
{if count($option.var)>1}
{assign var="i" value=$i+1}
<select class="product_option_{$id}" name="product_option_{$id}_{$key}" id="product_option[{$id}][{$i}]" onChange="GetNewPrice({$id},{$i})">
{*<option rel="0" value="">ֽו מןנוהוכוםמ</option>*}
{foreach from=$option.var item=var}
<option {if $var.default}selected {math assign="p" equation="x+z" x=$var.price_surplus z=$p format="%.2f"} {/if} rel="0" value="{$var.variantID}:{$var.price_surplus}:{$var.picture}">{$var.name}{if $var.price_surplus!=0} {assign var="new_price" value="1"} ({if $var.price_surplus>0}+{/if}{math equation="x/y" x=$var.price_surplus y=$smarty.const.CURRENCY_val format="%.2f"}){/if}</option>
{/foreach}
</select>
{elseif $option.or_op}
{$option.or_op}
{else}
{$option.var.0.name}
{/if}
<br>
</td>
</tr>
{/foreach}
</table>
назвал новый файл product_brief_new.tpl.html
вписал вот так в category.tpl.html
<td style="text-align: center; vertical-align: top; padding: 5px; width: {math equation="x/y" x=100 y=$smarty.const.CONF_COLUMNS_PER_PAGE|string_format:"%d"}%">
{include file="product_brief_new.tpl.html" product_info=$products_to_show[i1] options=$options}
вот результат (то что видит клиент на сайте при нажатии на категорию):
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'product_brief_new.tpl.html'' in
C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php:162 Stack trace: #0 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(537): Smarty_Internal_Template->isExisting(true) #1 C:\inetpub\wwwroot\core\cache\ee011e5f87aa261a70d49a66133d9d35a683799e.file.category.tpl.html.php(174): Smarty_Internal_Template-
>getRenderedTemplate() #2 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(422): include('C:\inetpub\wwwr...') #3
C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(554): Smarty_Internal_Template->renderTemplate() #4
C:\inetpub\wwwroot\core\cache\e00df3311957635d46cf6568e6f1079328e2744a.file.index.tpl.html.php(596): Smarty_Internal_Template->getRenderedTemplate() #5
C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(422): include('C:\inetpub\wwwr...') #6 C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php(554): in
C:\inetpub\wwwroot\smarty\sysplugins\smarty_internal_template.php on line 162
что неправильно?
??