подскажите пожалуйста, не могу разобраться, какой код нужно вставить чтобы отображались привязанные товары?
ниже привожу код шаблона
ТоварADDTOOLSRU
<?xml version="1.0" encoding="windows-1251"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output xmlns="http://www.w3.org/TR/xhtml1/strict"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="Windows-1251" indent="yes"
method="html" omit-xml-declaration="no" version="1.0" media-type="text/xml"/>
<!-- МагазинТовар -->
<xsl:decimal-format name="my" decimal-separator="," grouping-separator=" "/>
<xsl:template match="/shop">
<xsl:apply-templates select="item"/>
</xsl:template>
<xsl:template match="item">
<div class="tov-content"><xsl:value-of disable-output-escaping="yes" select="text"/></div>
<div class="">
<!-- Получаем ID родительской группы и записываем в переменную $parent_group_id -->
<xsl:variable name="parent_group_id" select="/shop/@current_group_id"/>
<xsl:if test="$parent_group_id = 0">
<a href="{/shop/path}"><xsl:value-of disable-output-escaping="yes" select="/shop/name"/></a>
</xsl:if>
<!-- Путь к группе -->
<!-- Информация об ошибках -->
<div class="tov-media-bl">
<xsl:if test="marking_of_goods != ''"><span class="cost-tov-cat">Артикул: <xsl:value-of disable-output-escaping="yes" select="marking_of_goods"/> </span></xsl:if>
<xsl:if test="weight!='0'"><span class="cost-tov-cat">Вес: <xsl:value-of disable-output-escaping="yes" select="weight"/> кг. </span></xsl:if>
<!-- Цена товара --><xsl:choose>
<xsl:when test="price_discount != 0"><span class="cost-tov-cat">Цена:
<xsl:value-of select="format-number(price_discount, '### ###', 'my')"
/> <xsl:value-of select="item_currency"
disable-output-escaping="yes"/></span>
</xsl:when>
<xsl:otherwise> </xsl:otherwise>
</xsl:choose>
<!-- Если цена со скидкой - выводим ее -->
<xsl:if test="price_discount != 0"><div class="sref"><span class="cost-tov-cat"> <a href="#" title="" class="ce2" style="margin-left:5px;" onclick='NEW_addItem2Cart("{name}",{@id},{price}); return false;'><b>Купить</b></a></span></div></xsl:if>
<!-- Изображение для товара, если есть --><!-- Ссылку на добавление в корзины выводим, если:type = 0 - простой тип товара type = 1 - электронный товар, при этом остаток на складе больше 0 или -1, что означает неограниченное количество --><!-- Показываем скидки -->
<div class="img-block"> <xsl:if test="count(property) > 0">
<span class="photos">Фото оборудования:</span> <!-- Свойства в корневой группе -->
<xsl:if test="count(property[@dir_id = 0])">
<xsl:apply-templates select="property[@dir_id = 0]"/>
</xsl:if>
<!-- Выбираем список групп свойств -->
<xsl:apply-templates select="/shop/properties_items_dir"/>
</xsl:if>
<xsl:if test="property[@xml_name='file1']/file_path != '' or property[@xml_name='file2']/file_path != '' or property[@xml_name='file3']/file_path != '' or property[@xml_name='file4']/file_path != '' or property[@xml_name='file5']/file_path != '' or property[@xml_name='file6']/file_path != '' or property[@xml_name='file7']/file_path != ''">
<span class="photos">Документация:</span>
<ul class="docs">
<xsl:if test="property[@xml_name='file1']/value != ''">
<li><a href="{property[@xml_name='file1']/file_path}">
<xsl:value-of select="property[@xml_name='file1']/name"
/>
</a>
</li>
</xsl:if>
<xsl:if test="property[@xml_name='file2']/value != ''">
<li> <a href="{property[@xml_name='file2']/file_path}">
<xsl:value-of select="property[@xml_name='file2']/name"
/>
</a>
</li>
</xsl:if>
<xsl:if test="property[@xml_name='file3']/value != ''">
<li><a href="{property[@xml_name='file3']/file_path}">
<xsl:value-of select="property[@xml_name='file3']/value"/>
</a>
</li>
</xsl:if>
<xsl:if test="property[@xml_name='file4']/value != ''">
<li> <a href="{property[@xml_name='file4']/file_path}">
<xsl:value-of select="property[@xml_name='file4']/value"/>
</a>
</li>
</xsl:if>
<xsl:if test="property[@xml_name='file5']/value != ''">
<li> <a href="{property[@xml_name='file5']/file_path}">
<xsl:value-of select="property[@xml_name='file5']/value"/>
</a>
</li>
</xsl:if>
<xsl:if test="property[@xml_name='file6']/value != ''">
<li> <a href="{property[@xml_name='file6']/file_path}">
<xsl:value-of select="property[@xml_name='file6']/value"/>
</a>
</li>
</xsl:if>
<xsl:if test="property[@xml_name='file7']/value != ''">
<li><a href="{property[@xml_name='file7']/file_path}">
<xsl:value-of select="property[@xml_name='file7']/value"/>
</a></li></xsl:if></ul>
</xsl:if>
</div>
<xsl:if test="property[@xml_name='file1']/file_path != '' or property[@xml_name='file2']/file_path != '' or property[@xml_name='file3']/file_path != '' or property[@xml_name='file4']/file_path != '' or property[@xml_name='file5']/file_path != '' or property[@xml_name='file6']/file_path != '' or property[@xml_name='file7']/file_path != ''">
</xsl:if><!-- Если электронный товар, выведим доступное количество --></div><!-- Тэги для информационного элемента --><!-- Модификации --><!-- Отзывы о товаре --></div></xsl:template><!-- Шаблон вывода добавления комментария --><!-- Вывод раздела для свойств товара --><!-- Вывод строки со значением свойства -->
<xsl:template match="property">
<xsl:if test="@xml_name='img' and file_path!='' and small_image/file_path!=''">
<a title="Увеличить фото" class="highslide" onclick="return hs.expand(this)" href="{file_path}"><img alt="" src="{small_image/file_path}" width="{small_image/file_path/@width}" height="{small_image/file_path/@height}" /></a></xsl:if>
</xsl:template><!-- /// Метки для информационного элемента /// --><!-- Вывод рейтинга товара --><!-- Шаблон для вывода звездочек (оценки) --><!-- Шаблон для отзывов --><!-- Шаблон для скидки --><!-- Шаблон выводит рекурсивно ссылки на группы инф. элемента --><xsl:template match="group" mode="goup_path">
<xsl:param name="parent_id" select="@parent"/>
<!-- Получаем ID родительской группы и записываем в переменную $parent_group_id -->
<xsl:param name="parent_group_id" select="/shop/@current_group_id"/>
<xsl:apply-templates select="//group[@id=$parent_id]" mode="goup_path"/>
<xsl:if test="@parent=0">
<a href="{/shop/path}">
<xsl:value-of select="/shop/name"/>
</a>
</xsl:if> → <xsl:choose>
<xsl:when test="$parent_group_id = @id">
<a href="{/shop/path}{fullpath}">
<xsl:value-of disable-output-escaping="yes" select="name"/>
</a>
</xsl:when>
<xsl:otherwise>
<a href="{/shop/path}{fullpath}">
<xsl:value-of disable-output-escaping="yes" select="name"/>
</a>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
в каком месте и что нужно вставить тут, чтобы появились привязанные товары?