Не зарегистрирован
Вход
Забыли пароль?
Регистрация
Подписаться
Сэкономьте время — перед вопросом на форуме узнайте, как найти ответ быстрее
По техническим проблемам необходимо обращаться в Консультационный центр

Поиск по форуму: 

Приглашаем в блог Amiro.CMS. Регулярные обзоры, опыт, решения, практикумы.

Форум  ->   Интернет Магазин  ->  Связанные товары - отображение.

Вопросы по настройке магазина, каталога.

Добавлено: 08.04.13 16:57:56 #31

Партнер



Регистрация: 22.11.06
Сообщений: 273


Обратиться по имени

Техподдержка, как всегда, дала исчерпывающий ответ по моей проблеме:
Шаблон _eshop_item_list.tpl на Вашем сайте сильно изменен, вероятно где-то есть ошибка.

огроменное спасибо Третьякову Александру, а то бы я так и думал, что это происки зелёных человечков...
возможно шаблон по умолчанию и решает конкретно эту проблему, но одновременно создаёт нам на сайте тысячи других... каталог полностью видоизменяется и абсолютно не соответствует нашим требованиям..
за сим выкладываю наш _eshop_item_list.tpl полностью на обозрение добрым людям, способным на сочувствие и в надежде на помощь братьев по оружию.
спасибо откликнувшимся!
<!--#set var="itemD_custom_field_1017_list" value="
##IF(custom_field != "")##
     <div class="itemD_custom_field_multi_related_items_list">
          ##custom_field##
     </div>
##ENDIF##
"-->

<!--#set var="itemD_custom_field_1017;itemD_custom_field_1017" value="
<div class="itemD_custom_field_multi_related_items">
<a href="##eshop_catalog_script####nav_data##">##small_picture##</a>
    <div class="connection_name"  align="left" style="margin-bottom:5px;">
<a  href="##eshop_catalog_script####nav_data##" >##name##</a></div>
    </div>
##--common_custom_fields--##"-->

<!--#set var="itemD_popup_picture"
value="<a href="#" OnClick="javascript:show_picture('##www_root##show_pic.php', '##src##','##title##', '##width##', '##height##'); 
return false;"><img class="eshop_image_click" src="##picture##" border="1" title="##title##"><br>%%enlarge%%</a>
"-->

%%include_language "templates/lang/_icons.lng"%%
%%include_language "templates/lang/eshop.lng"%%
%%include_language "templates/lang/eshop_catalog.lng"%%

<!--#set var="add_to_comparison" value="##if(ESHOP_BUY_ZERO)##<script>lbt='##_body_type##'</script><div id="_c_##_body_type##"><input type="checkbox" value="##_key##" onClick="mCompare(this)" title="%%checkbox_add_to_comparison%%" /> <a href="#" onClick="javascript:return compare('##_key##')">%%add_to_comparison%%##--<img src="_img/ico-compare_small_.gif" border="0" title="%%add_to_comparison%%" alt="%%add_to_comparison%%" align="absmiddle" onMouseOver="this.src='_img/ico-compare_small.gif'" onMouseOut="this.src='_img/ico-compare_small_.gif'">--##</a></div>##endif##"-->

##-- ****************** Styles for items ********************************** --##
<!--#set var="item_name;urgent_item_name" value="<b>##name##</b>"-->

<!--#set var="item_catname;urgent_item_catname" value="##catname##"-->

<!--#set var="item_name_link;urgent_item_name_link" value="<b>##name##</b>"-->
<!--#set var="item_catname_link;urgent_item_catname_link" value="<a href="##script_link####nav_data##">##catname##</a>"-->
<!--#set var="item_announce;urgent_item_announce" value="##announce##"-->
<!--#set var="item_description;urgent_item_description" value="##description##"-->
<!--#set var="item_popup_picture;urgent_item_popup_picture" value="<a href="#" OnClick="javascript:show_picture('##www_root##show_pic.php', '##src##','##alt_js##', '##width##', '##height##'); return false;"><img class="eshop_image_click" src="##picture##" border=0 title="##title##"><br>%%enlarge%%</a>
"-->
<!--#set var="item_picture;urgent_item_picture" value="<img class="eshop_image" src="##picture##" border=0 title="##title##">"-->
<!--#set var="item_small_picture" value="<img class="eshop_image" style="width:##small_picture_width##; height:##small_picture_height##;" src="##picture##" border=0 title="##title##" onmouseover="javascript:var a=##small_picture_width##+5; this.style.width=a;var b=##small_picture_height##+5; this.style.height=b;" onmouseout="this.style.width='##small_picture_width##';this.style.height='##small_picture_height##'">"-->
<!--#set var="item_sku;urgent_item_sku" value="<br>%%sku%%: ##sku##"-->

##-- prices --##
<!--#set var="item_price;urgent_item_price" value="<span class=price_small>##price##</span>"-->
<!--#set var="item_price_null;urgent_item_price_null" value="%%empty_price_value2%%"-->
<!--#set var="item_price_original;urgent_item_price_original" value="##--%%original_price%% --##<span class=old_price_small>##price_original##</span>"-->
<!--#set var="item_price_difference;urgent_item_price_difference" value="%%save_price%% <span class=discount_small>##difference## ##percent##%&nbsp;</span>"-->


##-- eshop digitals --##
<!--#set var="item_eshop_digitals_name;urgent_item_eshop_digitals_name" value="##eshop_digitals_name##"-->
<!--#set var="item_eshop_digitals_lname;urgent_item_eshop_digitals_lname" value="<a href="##get_file_link##">##eshop_digitals_name##</a>"-->
<!--#set var="item_eshop_digitals_descr;urgent_item_eshop_digitals_descr" value="&nbsp;##eshop_digitals_descr##"-->
<!--#set var="item_eshop_digitals_fname;urgent_item_eshop_digitals_fname" value="%%file_name%%:&nbsp;##eshop_digitals_fname##"-->
<!--#set var="item_eshop_digitals_count;urgent_item_eshop_digitals_count" value="%%eshop_digitals_count%%:&nbsp;##eshop_digitals_count##"-->
<!--#set var="item_eshop_digitals_size;urgent_item_eshop_digitals_size" value="%%eshop_digitals_total_size%%:&nbsp;##eshop_digitals_size##&nbsp;%%kbytes%%"-->
<!--#set var="item_eshop_digitals_info;urgent_item_eshop_digitals_info" value="<br>##eshop_digitals_count##, ##eshop_digitals_size##"-->
##-- ================== Prices ================================ --##
<!--#set var="itemD_base_price" value="
<tr>
<td>
<table cellspacing=0 cellpadding=0 border=0>
##if(price_original!="")##
<tr><td><font color=#cccccc style="text-decoration:line-through;">%%price%%:&nbsp;##price_original##</font>##--&nbsp;##price_difference##--##</td></tr>
##endif##
<tr><td valign=middle><font color=#000>
##if(price_original!="")##
%%new_price%%:
##else##
%%price%%:
##endif##
</font>&nbsp;##price##</td></tr>
</table>
	</td>
  <td nowrap valign=middle>
##if(ESHOP_BUY_ZERO=="1")##
<form name="qty_##itemid##_0" onSubmit="return false;"><input type=text name="qty" value="1" class="txt" size="2">&nbsp;&nbsp;<a href="javascript:amiCart.add('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0)"><img src="_img/add.gif" border=0 alt="%%addtocart%%" align=absmiddle></a>
##--<a href="javascript:AddToCart('##buy_link##?itemId=##itemid####add_params##&eshop_special=1&action=add', ##itemid##, 0)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'"></a>--##
</form>
##endif##
</td>
</tr>
"-->

<!--#set var="itemD_base_price_variable" value="
<tr>
  <form name="qty_##itemid##_0" onSubmit="return false;">
  <td align=left valign=middle><b>%%variable_price%%:</b>&nbsp;</td>
  <td valign=middle><input type=text name="price" value="0.00" class="txt" size="6"></td>
  <td nowrap valign=middle>
  <input type=hidden name="qty" value="1">&nbsp;<a href="javascript:amiCart.add('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0, '%%bad_price%%')"><img src="_img/ico-cart_small_.gif" border=0 alt="%%addtocart%%" align=absmiddle onmouseover="this.src='_img/ico-cart_small.gif'" onmouseout="this.src='_img/ico-cart_small_.gif'"></a>&nbsp;<a href="javascript:amiCart.add('##buy_link##?itemId=##itemid####add_params##&eshop_special=1&action=add', ##itemid##, 0, '%%bad_price%%')"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'"></a>
  </td>
  </form>
</tr>
"-->

<!--#set var="itemProp_base_price;urgent_itemProp_base_price" value="
<div style="display:none;" id=price_##propId##>
<table border=0>
<tr valign=middle>
  <td><div>##price##&nbsp;##price_original##<br>##price_difference##</div></td>
  <td nowrap>
##if(ESHOP_BUY_ZERO=="1")##
<form name="qty_##itemid##_##propId##_0" onSubmit="return false;"><input type=text name="qty" value="1" class="txt" size="2">&nbsp;&nbsp;<a href="javascript:amiCart.addProp('##script_link####nav_data##itemId=##itemid##&propId=##propId####add_params##&action=add', ##itemid##,##propId##, 0)"
><img src="_img/add.gif" border=0 alt="%%addtocart%%" align=absmiddle></a>##--<a href="javascript:AddToCartProp('##buy_link##?itemId=##itemid##&propId=##propId####add_params##&eshop_special=1&action=add', ##itemid##, ##propId##, 0)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'"></a>--##
</form>
##endif##
</td>
</tr><tr><td colSpan="2">##add_to_comparison##</td></tr>
</table></div>
"-->

<!--#set var="item_base_price;search_item_base_price;urgent_item_base_price" value="
##if(price_original!="")##
<tr><td><font color=#cccccc style="text-decoration:line-through;">%%price%%:&nbsp;##price_original##</font>##--&nbsp;##price_difference##--##</td></tr>
##endif##
<tr><td valign=middle><font color=#000>
##if(price_original!="")##
%%new_price%%:
##else##
%%price%%:
##endif##
</font>&nbsp;##price##</td></tr>
<tr>
<td valign=middle style="padding-top:15px;">
##if(ESHOP_BUY_ZERO=="1")##
<form name="qty_##itemid##_0" onSubmit="return false;"><input type=text name="qty" value="1" class="txt" size="2">&nbsp;&nbsp;<a href="javascript:AddToCart('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0)"><img src="_img/add.gif" border=0 alt="%%addtocart%%" align=absmiddle></a>
    <a href="javascript:AddToCart('##buy_link##?itemId=##itemid####add_params##&eshop_special=1&action=add', ##itemid##, 0)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'"></a>
      </form>
       <div class="eshop-item-small__one-click" onclick="amiCart.oneClick=true;amiCart.prefix='detailed_';amiCart.add('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0);"></div>
      ##endif##
</td></tr>
"-->

<!--#set var="item_base_price_variable;urgent_item_base_price_variable" value="
<tr>
  <form name="qty_##itemid##_0" onSubmit="return false;">
  <td align=left valign=middle><b>%%variable_price%%:</b>&nbsp;</td>
  <td valign=middle><input type=text name="price" value="0.00" class="txt" size="6"></td>
  <td nowrap valign=middle>
  <input type=hidden name="qty" value="1">&nbsp;<a href="javascript:amiCart.add('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0, '%%bad_price%%')"><img src="_img/ico-cart_small_.gif" border=0 alt="%%addtocart%%" align=absmiddle onmouseover="this.src='_img/ico-cart_small.gif'" onmouseout="this.src='_img/ico-cart_small_.gif'"></a>&nbsp;<a href="javascript:amiCart.add('##buy_link##?itemId=##itemid####add_params##&eshop_special=1&action=add', ##itemid##, 0, '%%bad_price%%')"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'"></a>
  </td>
  </form>
</tr>
"-->

<!--#set var="itemD_base_price_null" value="
<tr>
   <td align=left valign=middle><b>%%price%%:</b>&nbsp;</td>
   <td nowrap valign=middle>##price_original##&nbsp;##price##<br>##price_difference##</td>
   <td nowrap valign=middle>

##if(ESHOP_BUY_NULL=="1")##
      <form name="qty_##itemid##_0" onSubmit="return false;"><input type=hidden name="qty" value="1" class="txt" size="2">
      <a href="javascript:AddToCart('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0)"><img src="_img/ico-cart_small_.gif" border=0 alt="%%addtocart%%" align=absmiddle onmouseover="this.src='_img/ico-cart_small.gif'" onmouseout="this.src='_img/ico-cart_small_.gif'"></a><a href="javascript:AddToCart('##buy_link##?itemId=##itemid####add_params##&eshop_special=1&action=add', ##itemid##, 0)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'" alt="%%purchase%%"></a>
      </form>
       <div class="eshop-item-small__one-click" onclick="amiCart.oneClick=true;amiCart.prefix='detailed_';amiCart.add('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0);"></div>
      ##endif##
  </td>
</tr>
"-->

<!--#set var="item_base_price_null;search_item_base_price_null;urgent_item_base_price_null" value="
 <tr><td align=left><b>%%price%%:</b>&nbsp;</td>
  <td nowrap>##price_original##&nbsp;##price##<br>##price_difference##</td>
   <td nowrap>

##if(ESHOP_BUY_NULL=="1")##
      <form name="qty_##itemid##_0" onSubmit="return false;"><input type=hidden name="qty" value="1" class="txt" size="2">
      <a href="javascript:AddToCart('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0)"><img src="_img/ico-cart_small_.gif" border=0 alt="%%addtocart%%" align=absmiddle onmouseover="this.src='_img/ico-cart_small.gif'" onmouseout="this.src='_img/ico-cart_small_.gif'"></a><a href="javascript:AddToCart('##buy_link##?itemId=##itemid####add_params##&eshop_special=1&action=add', ##itemid##, 0)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'"></a>
      </form>
       <div class="eshop-item-small__one-click" onclick="amiCart.oneClick=true;amiCart.prefix='detailed_';amiCart.add('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0);"></div>
      ##endif##
			
  </td></tr>
"-->

<!--#set var="itemD_other_price" value="
<tr>
 <td align=left valign=middle><b>##price_caption##:</b>&nbsp;</td>
 <td nowrap valign=middle>##price##&nbsp;##price_original##<br>##price_difference##</td>
  <td nowrap valign=middle>
 ##if(ESHOP_BUY_ZERO=="1")##
<form name="qty_##itemid##_##num_prices##" onSubmit="return false;"><input type=text name="qty" value="1" class="txt" size="2"><a href="javascript:amiCart.add('##script_link####nav_data##itemId=##itemid##&num=##num_prices####add_params##&action=add', ##itemid##, ##num_prices##)"><img src="_img/add.gif" border=0 alt="%%addtocart%%" align=absmiddle></a>##--<a href="javascript:AddToCart('##buy_link##?itemId=##itemid##&num=##num_prices####add_params##&eshop_special=1&action=add', ##itemif##, ##num_prices##"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'" alt="%%purchase%%"></a>--##
</form>
 ##endif##
  </td>
</tr>
"-->

<!--#set var="item_other_price;search_item_other_price;urgent_item_other_price" value="
 <tr>
 <td align=left valign=middle><b>##price_caption##:</b>&nbsp;</td>
 <td nowrap valign=middle>##price##&nbsp;##price_original##<br>##price_difference##</td>
  <td nowrap valign=middle>
 ##if(ESHOP_BUY_ZERO=="1")##
      <form name="qty_##itemid##_##num_prices##" onSubmit="return false;"><input type=text name="qty" value="1" class="txt" size="2"><a href="javascript:amiCart.add('##script_link####nav_data##itemId=##itemid##&num=##num_prices####add_params##&action=add', ##itemid##, ##num_prices##)"><img src="_img/add.gif" border=0 alt="%%addtocart%%" align=absmiddle></a>##--<a href="javascript:AddToCart('##buy_link##?itemId=##itemid##&num=##num_prices####add_params##&eshop_special=1&action=add', ##itemid##, ##num_prices##)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'" alt="%%purchase%%"></a>--##
      </form>
 ##endif##
</td></tr>
"-->

<!--#set var="itemD_other_price_null" value="
<tr>
  <td align=left valign=middle><b>##price_caption##:</b>&nbsp;</td>
  <td valign=middle nowrap>##price_original##&nbsp;##price##<br>##price_difference##</td>
  <td valign=middle nowrap>
	##--
##if(ESHOP_BUY_NULL=="1")##
      <form name="qty_##itemid##_##num_prices##" onSubmit="return false;"><input type=hidden name="qty" value="1" class="txt" size="2">
      <a href="javascript:AddToCart('##script_link####nav_data##itemId=##itemid##&num=##num_prices####add_params##&action=add', ##itemid##, ##num_prices##)"><img src="_img/ico-cart_small_.gif" border=0 alt="%%addtocart%%" align=absmiddle onmouseover="this.src='_img/ico-cart_small.gif'" onmouseout="this.src='_img/ico-cart_small_.gif'"></a><a href="javascript:AddToCart('##buy_link##?itemId=##itemid##&num=##num_prices####add_params##&eshop_special=1&action=add', ##itemid##, ##num_prices##)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'" alt="%%purchase%%"></a>
      </form>
##endif##
--##
  </td>
</tr>
"-->

<!--#set var="item_other_price_null;search_item_other_price_null;urgent_item_other_price_null" value="
 <tr>
  <td align=left valign=middle><b>##price_caption##:</b>&nbsp;</td>
  <td nowrap valign=middle>##--price_original--####price####--price_difference--##</td>
  <td nowrap valign=middle>
	##--
 ##if(ESHOP_BUY_NULL=="1")##
      <form name="qty_##itemid##_##num_prices##" onSubmit="return false;"><input type=hidden name="qty" value="1" class="txt" size="2">
      <a href="javascript:AddToCart('##script_link####nav_data##itemId=##itemid##&num=##num_prices####add_params##&action=add', ##itemid##, ##num_prices##)"><img src="_img/ico-cart_small_.gif" border=0 alt="%%addtocart%%" align=absmiddle onmouseover="this.src='_img/ico-cart_small.gif'" onmouseout="this.src='_img/ico-cart_small_.gif'"></a><a href="javascript:AddToCart('##buy_link##?itemId=##itemid##&num=##num_prices####add_params##&eshop_special=1&action=add', ##itemid##, ##num_prices##)"><img src="_img/ico-buy_small_.gif" title="купить" border=0 alt="%%purchase%%" align=absmiddle onmouseover="this.src='_img/ico-buy_small.gif'" onmouseout="this.src='_img/ico-buy_small_.gif'" alt="%%purchase%%"></a>
      </form>
 ##endif##
 --##
</td></tr>
"-->

<!--#set var="item_other_price_list;itemD_other_price_list;search_item_other_price_list;urgent_item_other_price_list" value="
##other_price_list##
"-->

##-- ================== Item list sets ==================================== --##

<!--#set var="item_custom_field;urgent_item_custom_field" value="##IF(custom_field != "")##<b>##custom_field_title## ##details##:</b> ##custom_field####ENDIF##<br>"-->

<!--#set var="item_custom_field_link;urgent_item_custom_field_link" value="##IF(custom_field != "")##<b>##custom_field_title## ##details##:</b> <a href="##custom_field##">##custom_field##</a>##ENDIF##<br>"-->

<!--#set var="item_custom_picture;urgent_item_custom_picture" value="<img src="##picture##">"-->


<!--#set var="item_custom_field_date;urgent_item_custom_field_date" value="##IF(custom_field != "")##<i>##custom_field_title## ##details##:</i> ##custom_field####ENDIF##<br>"-->

<!--#set var="field_details;urgent_field_details" value="&nbsp;<a href="javascript:show_details('##script_link##?action=show_details&field=##details_id##');">?</a>&nbsp;"-->

<!--#set var="field_ref_details;urgent_field_ref_details" value="<a href="javascript:show_details('##script_link##?action=show_ref_details&field=##details_id##&ref_id=##val_id##');">?</a>"-->

<!--#set var="details;reference_details" value="
<HTML>
<HEAD>
<TITLE>##title##</TITLE>
<base href="##www_root##">
##metas##
<link rel="stylesheet" href="##www_root##/_mod_files/_css/common.css?_cv=3.8.1401-002" type="text/css">
<BODY id=bdy leftmargin="0" topmargin="0" bgcolor="#FFFFFF">
<table border=0 width=100%>
<tr>
<td>##details##</td>
</tr>
</table>
</BODY>
</HTML>
"-->

##-- row --##
<!--#set var="item_row" value="##--<div>%%rest%%: ##rest##</div>--####--<div>%%weight%%: ##weight##</div>--####--<div>%%size%%: ##size##</div>--####adv_counter####--adv_place--##
  <td width=33% valign=top style="padding-bottom:11px; padding-top:12px;padding-right:10px;">

<table width=100% cellspacing=0 cellpadding=0 border=0>

<tr><td align="center" valign=top><div><a href="##script_link####nav_data##" style="color:#000"><b>##name####--item_catname--##</b></a></div>
    
     ##--<div>##announce##</div>--##
		

      </td></tr>

<tr><td valign=top align="center"><a href="##script_link####nav_data##">##small_picture##</a></td></tr>
<tr>
    <td align=center valign=bottom>
                  ##if( custom_field_list != "" )##
      <div class=svo>##custom_field_list##</div>
      ##endif##
        <a href="##script_link####nav_data##">Подробнее##--<img src="_img/details2.gif">--##</a></td></tr>
<tr><td align="center" valign=bottom><table cellspacing=0 cellpadding=0 border=0>##base_price##</table></td></tr>	
      
<tr><td colSpan="2" align="center">##add_to_comparison##</td></tr></table>

    </td>
"-->

<!--#set var="urgent_item_row" value="##--<div>%%rest%%: ##rest##</div>--####--<div>%%weight%%: ##weight##</div>--####--<div>%%size%%: ##size##</div>--####adv_counter####--adv_place--##
  <td width=33% valign=top style="padding-bottom:11px; padding-top:12px;padding-right:10px;">

<table width=100% cellspacing=0 cellpadding=0 border=0>

<tr><td align="center" valign=top><div><a href="##script_link####nav_data##" style="color:#000"><b>##name####--item_catname--##</b></a></div>
    
     ##--<div>##announce##</div>--##
		

      </td></tr>

<tr><td valign=top align="center"><a href="##script_link####nav_data##">##small_picture##</a></td></tr>
<tr>
    <td align=center valign=bottom>
                  ##if( custom_field_list != "" )##
      <div class=svo>##custom_field_list##</div>
      ##endif##
        <a href="##script_link####nav_data##">Подробнее##--<img src="_img/details2.gif">--##</a></td></tr>
<tr><td align="center" valign=bottom><table cellspacing=0 cellpadding=0 border=0>##base_price##</table></td></tr>	
      
<tr><td colSpan="2" align="center">##add_to_comparison##</td></tr></table>

    </td>
"-->


<!--#set var="item_row__old" value="
<td height=23>
  <a name=store_item_##id##></a>
    ##if (description != "")##
      <a href="##script_link####nav_data##">##name##</a>
    ##else##
      ##name##
    ##endif##
</td>
<td>
  ##-- sku --##&nbsp;
</td>
<td>
</td>
    ##base_price##
    ##other_prices##
"-->

##-- row for subitems --##


##-- splitters --##




##-- items list --##
<!--#set var="item_list" value="
<div align=right>##pager##</div>
<br>
##--<table cellspacing=0 cellpadding=0 border=0 width=100%>
  <tr>
    <td>
		<form>
		<select name=sort onChange="javascript:n = this.selectedIndex; if(this.options[n].value!=0){resort('name', this.options[n].value); return false;}">##sort_name##</select>
		</form>
		</td>
  </tr>
</table>
<hr>--##
<table cellspacing=0 cellpadding=0 border=0 width=100%>
  <tr>
    ##list##
  </tr>
</table>
<br>
<div align=right>##pager##</div>
"-->

<!--#set var="urgent_item_list" value="
<table cellspacing=0 cellpadding=0 border=0 width=100%>
<tr>##list##</tr>
</table>
<br>
"-->

##-- subitems list --##


##-- empty --##
<!--#set var="item_empty;item_list_not_found" value="
##--<table cellspacing=0 cellpadding=0 border=0 width=100%>
  <tr>
    %%noproducts%%
  </tr>
</table>--##
<td valign=top> 
##--<li>%%noproducts%% --##
</td>
"-->


##-- ****************** Pages types ****************************** --##


<!--#set var="body_items" value="##cat_adv_counter####--cat_adv_place--##


<tr><td>##search##
##letters##</td></tr>
<tr><td><hr></td></tr>
##if(cat_level_abs == 1)##
<tr><td>
##filter##
##else##
<tr><td>##filter##</td></tr>
##endif##

<tr><td>
##sort##
<h2>##cat_path##</h2></td></tr>
    
<tr>
  <td colspan=3 valign=top height=100%>
  <a name="products"></a>
    ##urgent_item_list####item_list##
  </td>
</tr>
 
<tr>
  <td colspan=3>
    ##urgent_catD_announce##
  </td>
</tr>
<tr><td colspan=3>##urgent_catD_detail##</td></tr>
<tr>
  <td colspan=3>
    ##catD_announce##
  </td>
</tr>
##if(offset == "")##<tr><td colspan=3>##catD_detail##</td></tr>##endif##

"-->

<!--#set var="body_urgent_items" value="##item_list##"-->

##-- eshop.5.4.2.0 from "templates/_eshop_item_details.tpl" --##

<!--#set var="add_to_comparison" value="##if(ESHOP_BUY_ZERO)####if(_ch)##<script>lbt='##_body_type##'</script><div id="_c_##_body_type##"><input type="checkbox" value="##_key##" onClick="mCompare(this)" title="%%checkbox_add_to_comparison%%" /> ##endif##<a href="#" onClick="javascript:return compare('##_key##')">%%add_to_comparison%%##--<img src="_img/ico-compare_small_.gif" border="0" title="%%add_to_comparison%%" alt="%%add_to_comparison%%" align="absmiddle" onMouseOver="this.src='_img/ico-compare_small.gif'" onMouseOut="this.src='_img/ico-compare_small_.gif'">--##</a></div>##endif##"-->

##-- ****************** Styles for item ********************************** --##

<!--#set var="itemD_announce" value="##announce##"-->
<!--#set var="itemD_description" value="##description##"-->
<!--#set var="itemD_header" value="<h2>##header##</h2>"-->
<!--#set var="itemD_status_usual" value="%%usual%%"-->
<!--#set var="itemD_status_special" value="%%onspecial%%"-->
<!--#set var="itemD_popup_picture" value="
  <a href="#" OnClick="javascript:show_picture('##www_root##show_pic.php', '##src##','##alt_js##', '##width##', '##height##'); return false;"><img class="eshop_image_click" src="##picture##" border=0 title="##title##"><br>%%enlarge%%</a>
"-->
<!--#set var="itemD_picture;itemD_big_picture" value="<img class="eshop_image" src="##picture##" border=0 title="##title##">"-->
<!--#set var="itemD_name" value="##name##"-->
<!--#set var="itemD_sku" value="<br>%%sku%% ##sku##"-->

##-- prices --##
<!--#set var="itemD_price;itemProp_price" value="<span class=price_details>##price##</span>"-->
<!--#set var="itemD_price_null; itemProp_price_null" value="%%empty_price_value2%%"-->
<!--#set var="itemD_price_original;itemProp_price_original" value="##--%%original_price%% --##<span class=old_price_details>##price_original##</span>"-->
<!--#set var="itemD_price_difference;itemProp_price_difference" value="%%save_price%% <span class=discount_details>##difference## ##--##percent##%--##</span>"-->

##-- custom fields --##
<!--#set var="itemD_property_empty" value="%%property_list_empty%%"-->
<!--#set var="itemD_property_no" value="%%property_list_no%%"-->
<!--#set var="itemD_property_data" value="
<script>
function change_price(form)
{
for(var i=1;i<form.length;i++)
{
var q=form.options[i].value;
var t='price_'+q;
document.getElementById(t).style.display='none';
}
var z=form.selectedIndex; 
var a=form.options[z].value; 
if(a!="")
{
var c='price_'+a;
document.getElementById(c).style.display='block';
}
}
</script>
<table border=0 cellspacing=0 cellpadding=4>##data##</table>
<table border=0 cellspacing=0 cellpadding=4>
<tr><td valign=top>
<form name=property__>
<div id=category_property1__>
<table cellspacing=0 cellpadding=0 border=0 height=30>
<tr><td>
##name_set__##&nbsp;
</td>
<td>
<select name=category_property1__ onChange="javascript:change_price(this)">
<option>---------</option>
##jslist##
</select>
</td></tr></table>
</div>
</form>
</td>
<td valign=top>##jsprice##</td>
<td>
<script>
</script>
</td>
</tr></table>
"-->
<!--#set var="itemD_property_Hrow" value="<tr>##data##</tr>"-->
<!--#set var="itemD_property_row" value="<tr>##data##</tr>"-->
<!--#set var="itemD_property_Hcell" value="
##setglobalvar @name_set__=(name_set__=="")?name:name_set__##
<th>##--name## ##details--##</th>"-->

<!--#set var="itemD_property_picture" value="##--<img src="##picture##">--####picture##"-->

<!--#set var="itemD_property_cell" value="<td>
##setglobalvar @counter_variant=counter_variant+1##
##setglobalvar @jslist=jslist."<option value=".propId.">".name."</option>"##
##--name--##
</td>"-->
<!--#set var="itemD_property_cellsize" value="<td align=right>##--name--##</td>"-->
<!--#set var="itemD_property_cellprice" value="<td align=right>
##setglobalvar @jsprice=jsprice.name##
##--name--##</td>"-->
<!--#set var="itemD_property_cellweight" value="<td align=right>##--name--##</td>"-->
<!--#set var="itemD_property_cellrest" value="<td align=right>##--name--##</td>"-->
<!--#set var="itemD_property_flag" value="##name##"-->
<!--#set var="itemD_property_flag_notselected" value="<font color=#AAAAAA>##name##</font>"-->
<!--#set var="itemD_property_flag_delimeter" value="<br>"-->
<!--#set var="itemD_custom_field" value="##IF(custom_field != "")##<b>##custom_field_title## ##details##:</b> ##custom_field## ##val_details## ##ENDIF##<br>"-->

<!--#set var="itemD_custom_field_link" value="##IF(custom_field != "")##<b>##custom_field_title## ##details##:</b>##--picture--## <a href="##custom_field##">##custom_field##</a> ##val_details## ##ENDIF##<br>"-->

<!--#set var="itemD_custom_picture" value="<img src="##picture##">"-->

<!--#set var="itemD_custom_field_multi" value="##--ref_val_id--####--picture--####if(isactive)## ##name## ##val_details## ##else## <font color=#AAAAAA>##name##</font> ##val_details## ##endif##"-->

<!--#set var="itemD_custom_field_multi_link" value="##picture## ##if(isactive)## <a href="##name##">##name##</a> ##val_details## ##else## <a href="##name##">##name##</a> ##val_details## ##endif##"-->
<!--#set var="itemD_custom_field_multi_splitter" value=""-->
<!--#set var="itemD_custom_field_multi_list" value="##IF(custom_field != "")##<b>##custom_field_title## ##details##:</b>##custom_field##<br>##ENDIF##"-->

<!--#set var="itemD_custom_field_multi_related_items;itemD_custom_field_multi_related_cats" value="<a href="##eshop_catalog_script####nav_data##">##name##</a>##--common_custom_fields--##"-->
<!--#set var="itemD_custom_field_related_cats_items_splitter" value="<br>"-->
<!--#set var="itemD_custom_field_multi_related_cats_items" value="<a href="##eshop_catalog_script####nav_data##">##name##</a><table border=0 cellspacing=1 cellpadding=3>##base_price####other_price##</table>"-->
<!--#set var="itemD_custom_field_related_cats_items_list" value="##items##"-->
<!--#set var="itemD_custom_field_related_items_splitter;itemD_custom_field_related_cats_splitter" value="<br>"-->
<!--#set var="itemD_custom_field_related_items_list;itemD_custom_field_related_cats_list" value="##IF (custom_field != "")##<b>##custom_field_title## ##details##:</b><br>##custom_field####ENDIF##"-->

##-- eshop digitals --##

<!--#set var="itemD_eshop_digitals_row" value="
 <tr>
   <td> ##eshop_digitals_name## &nbsp;</td>
   ##--eshop_digitals_fname--##
   <td nowrap valign=top> ##eshop_digitals_descr## &nbsp;</td>
   <td nowrap valign=top> ##eshop_digitals_size## &nbsp;</td>
 </tr>
"-->

<!--#set var="itemD_eshop_digitals_splitter" value=""-->


<!--#set var="itemD_eshop_digitals_info" value="
<tr>
  <td>
    <table class=tbl cellspacing=0 cellspadding=0 width=100%>
  ##eshop_digitals_rows##
    </table>
  </td>
</tr>
"-->

##-- detail set --##
<!--#set var="itemD_detail" value="##--<div>%%rest%%: ##rest##</div>--####--<div>%%weight%%: ##weight##</div>--####--<div>%%size%%: ##size##</div>--####adv_counter####--adv_place--##
<tr>
<td valign=top>
  <table cellspacing=0 cellpadding=4 width="100%" border=0>
	<tr><td>
	  <table cellspacing=0 cellpadding=0 width="100%" border=0>
    <tr>
      <td valign=top align=center>
		##--small_picture--##
    ##picture##
    ##--big_picture--##
      </td>
      <td valign=top>
			<h3>##name##</h3>
        <table border=0 cellspacing=5 cellpadding=0>
          ##base_price##
          ##other_prices##
            <div class="eshop-item-detailed__one-click-order" onClick="amiCart.oneClick=true;amiCart.prefix='detailed_';amiCart.add('##script_link####nav_data##itemId=##itemid####add_params##&action=add', ##itemid##, 0);"></div>
        </table>
         ##add_to_comparison##
<div>##property_data##</div>
          <br><br><br>
            <a href="delivery">Условия доставки по Москве и регионам России...</a>
          
      </td>
        <td valign=top>
        <div class=svo>##custom_field_all##<div>
        </td>
    </tr>
		</table></td></tr>
		<tr><td>       
		<hr>
                             
        <table border=0 cellspacing=0 cellpadding=0 >
             ##eshop_digitals_info##
        </table>
        ##--announce--##
        ##pager_item_details####description####pager_item_details##
            <br><br>
                    <a href="mt">Механизмы трансформации - описания...</a>
            <br><br>
            ##if (custom_field_1017 != "")##
                 <div class="other_pictures_painter">##custom_field_title## ##details##:</div>
<div style="padding-left:14px; ">##custom_field_1017##</div>
##endif##
<noindex>
          <br><br><script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script>
<div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="button" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj,friendfeed,moikrug"></div> 
          </noindex> 

</td></tr>
  </table>
##forum_link## ##forum_count_topics## ##forum_count_replies##<br><span id="rating_block_##id##">##rating_block##</span> <span id="votes_block_##id##">##votes_block##</span> ##rating_form##<br>
<span id="rating_block_##id##">##rating_block##</span> <span id="votes_block_##id##">##votes_block##</span> ##rating_form##<br><br></td>
</tr>

##--<tr><td>##browse_item_list##</td></tr>--##"-->

##-- empty --##
<!--#set var="itemD_empty" value="
<tr>
  <td>
    <h4>%%product_notfound%%</h4>
    %%sorry_noproduct1%%
    <a href="##script_link##">%%sorry_noproduct2%%</a>
    %%sorry_noproduct3%%.
  </td>
</tr>
"-->

##-- ****************** Pages types ****************************** --##

<!--#set var="body_itemD" value="
<tr>
  <td colspan=3 valign=top>
   <h2>##cat_path##</h2>
  </td>
</tr>
<tr><td colspan=3>
##search_form##
##filter##
##--item_header--##
</td></tr>
##item_detail##
##forum_extention##"-->



##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_custom_field" value="##IF(custom_field != "")##<b>##custom_field_title## ##details##:</b> ##custom_field####ENDIF##<br>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_custom_field_date" value="##IF(custom_field != "")##<i>##custom_field_title## ##details##:</i> ##custom_field####ENDIF##<br>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_index" value="<b>##index##.</b>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_name" value="<b>##name##</b>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_catname" value="<b>##catname##</b>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_announce" value="##announce##"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_picture" value="<img class="eshop_image" src="##picture##" border=0 align=left title="##title##">"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_price" value="<span class=price>##price##</span>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_price_null" value="##--%%empty_price_value2%%--##"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_price_original" value="##--%%original_price%% --##<span class=old_price>##price_original##</span>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_price_difference" value="%%save_price%% <span class=discount>##difference## ##--##percent##%--##</span>"-->

##-- eshop.5.4.2.0 from "templates/eshop_catalog.tpl" --##
<!--#set var="search_item_row" value="##--<div>%%rest%%: ##rest##</div>--####--<div>%%weight%%: ##weight##</div>--####--<div>%%size%%: ##size##</div>--####adv_counter##
<td valign=top align="center">
  ##index## ##catname## / ##name## 
    <table align="center" width="100%" cellspacing=0 cellpadding=1 border=0>
	<tr><td align="center" colspan=2>##--<a href="##script_link####nav_data##"><b>##name##</b></a>--##</td></tr>
    <tr>
      <td valign=top align="center"><a href="##script_link#&#



Добавлено: 10.04.13 20:33:50 #32

Партнер



Регистрация: 22.11.06
Сообщений: 273


Обратиться по имени

рассказываю:
вот здесь
##if (custom_field_1017 != "")##
<div class="other_pictures_painter">
##custom_field_title## ##details##:</div>
<div style="padding-left:14px; ">##custom_field_1017##</div>
##endif##

после ##details## я тупо написал "Другие модели серии"
и всё заработало! там где выбраны товары, заголовок показывается, где нет - и заголовка нет... чудо, не правда ли?!



Добавлено: 11.04.13 02:11:17 #33



Регистрация: 02.03.10
Сообщений: 157


Обратиться по имени

Возможно с ##details##, что-то не так, раз название не выводится. Но писать в шаблоне текст - это тоже ни есть гуд.

Тогда уж языковую переменную создать, обозвать её как-нибудь, а потом подставить её на место "Другие модели серии".



Добавлено: 21.06.13 20:48:18 #34

Партнер



Регистрация: 22.11.06
Сообщений: 273


Обратиться по имени

народ, кто знает как связанные товары с ценой выводить?



Добавлено: 26.06.13 15:22:16 #35




Регистрация: 11.06.13
Сообщений: 404


Обратиться по имени

посмотрите здесь http://manual.amiro.ru/faq#q534



Если я вам помог, ставьте палец вверх ;)
Добавлено: 27.06.13 11:11:43 #36

Партнер



Регистрация: 22.11.06
Сообщений: 273


Обратиться по имени

да, полезная ссылка, спасибо. только цена почему-то не вылазит )) Слово цена под картинкой есть, а цыферь нету. делал всё по писанному



Добавлено: 27.06.13 11:18:32 #37



Регистрация: 02.08.12
Сообщений: 338


Обратиться по имени

Могу посоветовать юзать принт_варс. Думаю, это решит проблему)



Флужу на форуме. Набиваю репу. Даю глупые советы.
Добавлено: 03.12.13 14:07:20 #38



Регистрация: 09.09.13
Сообщений: 17


Обратиться по имени

понадобилось реализовать продажу наборов (комплектов). Тоже вот этого решил использовать "Как сделать связанные товары?"

Такой вопрос возник. Если это свойство товара, то почему оно не отображается при сравнении товаров одних наборов свойств?

Кстати, в этом переменной "itemD_details" не существует. Она "itemD_detail"

и ##custom_field_title## ##details## не выводит





Создать новую тему

Всего тем: 6629
Всего сообщений: 27748
Всего зарегистрированных пользователей: 48919
Последний зарегистрированный пользователь: krnphrneseng naja