product_brief.tpl.html
Спойлер
{* шаблон короткого описния товара *}
{if $product_info ne NULL}
{if $smarty.const.CONF_MOD_REWRITE eq 1}
{assign var="tlink" value="`$product_info.name`"}
{else}
{assign var="tlink" value="`$product_info.name`"}
{/if}
{assign var="preheader" value="+"}
{if $isadmin eq "yes"}{assign var="postheader" value=`$preheader``$tlink`}{else}{assign var="postheader" value=$tlink}{/if}
{include file="header.tpl.html" header=$postheader}
{*
*}
{/if}
{if $product_info ne NULL}
{if $smarty.const.CONF_MOD_REWRITE eq 1}
{assign var="tlink" value="`$product_info.name`"}
{else}
{assign var="tlink" value="`$product_info.name`"}
{/if}
{assign var="preheader" value="+"}
{if $isadmin eq "yes"}{assign var="postheader" value=`$preheader``$tlink`}{else}{assign var="postheader" value=$tlink}{/if}
{include file="header.tpl.html" header=$postheader}
|
{*
{$smarty.const.STRING_MOREPR} |
*}
{/if}
product_detailed.tpl.html
Спойлер
{* шаблон детального описания товара *}{if $product_info ne NULL}{* Для эффекта затемнения всей страницы при развертывании большого фото раскомментируйте этот блок кода*}{assign var="preheader" value="+"}{if $isadmin eq "yes"}{assign var="postheader" value=`$preheader``$product_info.name`}{else}{assign var="postheader" value=$product_info.name}{/if}{include file="header.tpl.html" header=$postheader}
{if $smarty.const.CONF_USE_DISCUSS eq 1}{$smarty.const.DISCUSS_ITEM_LINK} ({$product_reviews_count} {$smarty.const.POSTS_FOR_ITEM_STRING}){/if}{$smarty.const.LINK_TO_HOMEPAGE}{section name=i loop=$product_category_path}{if $product_category_path[i].categoryID != 1} / {$product_category_path[i].name}{/if}{/section} |
|
|
{if $product_related_number > 0} {include file="header.tpl.html" header=$smarty.const.STRING_RELATED_ITEMS}
|
Нужно отключить "не отображать товары, которых нет на складе"? Сделал. Надпись "под заказ" появилась. Нужна кнопка "ЗАКАЗАТЬ". Что произойдёт после добавления? уведомление администратора или что?