Вот мой шаблон товара, что нужно добавить что бы отображались сопутствующие товары
<?xml version="1.0" encoding="utf-8"?>
<!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="utf-8" indent="yes" method="html" omit-xml-declaration="no" version="1.0" media-type="text/xml"/>
<!-- МагазинТовар -->
<xsl

ecimal-format name="my" decimal-separator="," grouping-separator=" "/>
<xsl:template match="/shop">
<script type="text/javascript">
$(document).ready(function() {
$('#gallery'

.cycle({fx:"fade", pager : "#pager03", timeout: 0,
pagerAnchorBuilder: function(idx, slide) {
return '#pager03 a:eq(' + idx + '

';
}});
});
</script>
<div class="left">
<xsl:apply-templates select="item"/>
</div>
</xsl:template>
<xsl:template match="item">
<!-- Информация об ошибках -->
<xsl:variable name="error_code" select="/shop/error"/>
<div id="goods">
<div class="goodsImg">
<span class="goodsImg_big">
<div id="gallery" >
<xsl:if test="image != ''">
<a href="{image}" target="_blank" class="lightbox" id="img_tovar" style="background:url({small_image}) no-repeat center center;">
<img src="{small_image}" style="display:none;" /> </a>
</xsl:if>
<xsl:if test="property[xml_name = 'img2']/file_path != ''">
<a href="{property[xml_name = 'img2']/file_path}" target="_blank" class="lightbox" id="img_tovar" style="background:url({property[xml_name = 'img2']/small_image/file_path}) no-repeat center center;">
<img style="display:none;" src="{property[xml_name = 'img2']/small_image/file_path}" alt="" />
</a>
</xsl:if>
<xsl:if test="property[xml_name = 'img3']/file_path != ''">
<a href="{property[xml_name = 'img3']/file_path}" target="_blank" class="lightbox" id="img_tovar" style="background:url({property[xml_name = 'img3']/small_image/file_path}) no-repeat center center;">
<img style="display:none;" src="{property[xml_name = 'img3']/small_image/file_path}" alt="" />
</a>
</xsl:if>
<xsl:if test="not(//image)">
<span id="img_tovar" style="background:url({small_image}) no-repeat center center;">
<img src="{small_image}" style="display:none;"/>
</span>
</xsl:if>
<xsl:if test="not(//property[xml_name = 'img2']/file_path)">
<span id="img_tovar" style="background:url({property[xml_name = 'img2']/small_image/file_path}) no-repeat center center;">
<img style="display:none;" src="{property[xml_name = 'img2']/small_image/file_path}" alt="" />
</span>
</xsl:if>
<xsl:if test="not(//property[xml_name = 'img3']/file_path)">
<span id="img_tovar" style="background:url({property[xml_name = 'img3']/small_image/file_path}) no-repeat center center;">
<img style="display:none;" src="{property[xml_name = 'img3']/small_image/file_path}" alt="" />
</span>
</xsl:if>
</div>
</span>
<xsl:if test="property[xml_name = 'img2']/small_image/file_path != ''">
<span class="goodsImg_gallery" id="pager03">
<xsl:if test="small_image != ''">
<a href="#" onclick="$('#s7'

.cycle(0); return false;"><img width="67" height="47" src="{small_image}" alt="" /></a>
</xsl:if>
<xsl:if test="property[xml_name = 'img2']/small_image/file_path != ''">
<a href="#" onclick="$('#s7'

.cycle(0); return false;"><img width="67" height="47" src="{property[xml_name = 'img2']/small_image/file_path}" alt="" /></a>
</xsl:if>
<xsl:if test="property[xml_name = 'img3']/small_image/file_path != ''">
<a href="#" onclick="$('#s7'

.cycle(0); return false;"><img width="67" height="47" src="{property[xml_name = 'img3']/small_image/file_path}" alt="" /></a>
</xsl:if>
</span>
</xsl:if>
<div style="clear: both;"></div>
</div>
<p class="goodsInfo">
<span class="boldBlack">
<xsl:value-of disable-output-escaping="yes" select="name"/>
</span><br />
Цена: <span class="lnkLilacPrice">
<xsl:choose>
<xsl:when test="price_discount != 0">
<span>
<xsl:variable name="price" select="price_discount"/>
<xsl:value-of select="format-number($price, '### ##0', 'my'

"/> р.
</span>
</xsl:when>
<xsl:otherwise>
<span style="font-size: 11pt">
<b><xsl:value-of disable-output-escaping="yes" select="//price_replace"/></b>
</span>
</xsl:otherwise>
</xsl:choose>
</span><br />
<xsl:if test="marking_of_goods != ''">
Артикул: <span class="boldBlack">
<xsl:value-of disable-output-escaping="yes" select="marking_of_goods"/>
</span><br />
</xsl:if>
<xsl:if test="producer/name != ''">
Производитель:
<span class="boldBlack">
<xsl:value-of disable-output-escaping="yes" select="producer/name"/>
</span><br />
</xsl:if>
<!-- Показываем количество на складе, если больше нуля -->
<xsl:if test="rest > 0">
В наличии: <span class="boldBlack">
<xsl:value-of disable-output-escaping="yes" select="rest"/> 
<xsl:value-of disable-output-escaping="yes" select="mesure"/>
</span><br />
</xsl:if>
<!-- Если указан вес товара -->
<xsl:if test="weight != 0">
Вес товара:
<span class="boldBlack"><xsl:value-of select="weight"/>
 <xsl:value-of select="weight_mesure"/>
</span><br />
</xsl:if>
</p>
</div>
<div style="clear: both;"></div>
<span class="hr_gray">
<img class="right" src="/XHTML/img/hr_black_lr.png" width="15" height="1" />
<img class="left" src="/XHTML/img/hr_black_lr.png" width="15" height="1" />
</span>
<xsl:if test="description !=''">
<b>Описание товара</b><br /><br />
<xsl:value-of disable-output-escaping="yes" select="description" />
<span class="hr_gray">
<img class="right" src="/XHTM/img/hr_black_lr.png" width="15" height="1" />
<img class="left" src="/XHTM/img/hr_black_lr.png" width="15" height="1" />
</span>
</xsl:if>
<xsl:if test="text !=''">
<div id="goodsParam">
<div class="container_r">
<div class="tr"></div><div class="tl"></div>
<div class="content1">
<span >Характеристики</span>
</div>
<div class="br"></div><div class="bl"></div>
</div>
<!-- Текст товара -->
<p>
<xsl:value-of disable-output-escaping="yes" select="text"/>
</p>
<div style="clear: both;"></div>
</div>
<span class="hr_gray">
<img class="right" src="/XHTM/img/hr_black_lr.png" width="15" height="1" />
<img class="left" src="/XHTM/img/hr_black_lr.png" width="15" height="1" />
</span>
</xsl:if>
<xsl:if test="$error_code != 0">
<div id="error">
<b>Внимание!</b>Неправильно введен код подтвержения!</div>
</xsl:if>
<xsl:if test="not(/shop/error/node()) and /shop/comment_is_active/node()">
<!-- Информация о выполненном действии -->
<div>
<b>
<xsl:choose>
<xsl:when test="/shop/comment_is_active = '0'">Комментарий успешно добавлен и будет опубликован после проверки модератором!</xsl:when>
<xsl:otherwise>Комментарий успешно добавлен и опубликован!</xsl:otherwise>
</xsl:choose>
</b>
</div>
</xsl:if>
<!-- Отзывы о товаре -->
<xsl:if test="count(comments/comment) > 0">
<p class="title">
<a name="comments"></a>Отзывы о товаре</p>
<xsl:apply-templates select="comments/comment" />
</xsl:if>
<div id="ShowAddComment">
<a href="javascript:void(0)" onclick="javascript:cr('AddComment'

" class="add_coment">Добавить комментарий</a><br/>
</div>
<div id="AddComment" style="display: none">
<xsl:call-template name="AddCommentForm"></xsl:call-template>
</div>
</xsl:template>
<!-- Шаблон вывода добавления комментария -->
<xsl:template name="AddCommentForm">
<xsl:param name="comment_id" select="0"/>
<!-- Заполняем форму -->
<xsl:variable name="subject">
<xsl:if test="/document/form_parent_id/node() and /document/form_parent_id/node() and /document/form_parent_id= $comment_id">
<xsl:value-of select="/document/form_subject"/>
</xsl:if>
</xsl:variable>
<xsl:variable name="text">
<xsl:if test="/document/form_text/node() and /document/form_parent_id/node() and /document/form_parent_id= $comment_id">
<xsl:value-of disable-output-escaping="yes" select="/document/form_text"/>
</xsl:if>
</xsl:variable>
<xsl:variable name="name">
<xsl:if test="/document/form_user_name/node() and /document/form_parent_id/node() and /document/form_parent_id= $comment_id">
<xsl:value-of select="/document/form_user_name"/>
</xsl:if>
</xsl:variable>
<div class="container_r">
<div class="tr"></div><div class="tl"></div>
<div class="content_form">
<span class="boldBlack name_art_comment">Оставьте свой отзыв о товаре:</span>
<form action="{/document/url}" name="comment_form_0{comment_id}" method="post">
<table border="1" style="margin-bottom:15px;">
<tr>
<td><span class="name_art_comment">Имя:</span></td>
<td><input class="form_text_comment" type="text" name="shop_comment_user_name" value="{/shop/shop_comment_user_name}"/></td>
</tr>
<tr>
<td><span class="name_art_comment">Тема:</span></td>
<td><input class="form_text_comment" type="text" name="shop_comment_subject" value="{/shop/shop_comment_subject}"/></td>
</tr>
<tr>
<td style=" vertical-align:middle;"><span class="name_art_comment">Ваш текст:</span></td>
<td><textarea name="shop_comment_text" class="input_textField">
<xsl:value-of select="/shop/shop_comment_text"/>
</textarea>
</td>
</tr>
</table>
<!-- Обработка CAPTCHA -->
<xsl:if test="//captcha_key != 0 and /shop/user_id = 0">
<div class="div_captcha name_art_comment">
Контрольные цифры
<sup>
<font color="red">*</font>
</sup>
<div>
<img id="comment_{$comment_id}" style="border: 1px solid #000000; margin-top:5px;"
src="/captcha.php?get_captcha={captcha_key}{$comment_id}&height=30&width=100"
title="Код подтверждения" name="captcha"/>
</div>
<div id="captcha" style="clear:both;">
<img style="border: 0px" src="/hostcmsfiles/images/refresh.gif" />
<a href="javascript:void(0);" class="name_art_comment" onclick="ReNewCaptchaById('comment_{$comment_id}', '{//captcha_key}{$comment_id}', 30); return false;">
Показать другое число</a>
</div>
<div style="float: left;margin-top: 5px">
<input type="hidden" name="captcha_key" value="{//captcha_key}{$comment_id}"/>
<input type="text" name="captcha_keystring" size="15"/>
</div>
<div id="captcha" class="name_art_comment" style="clear:both;margin-bottom:10px;">
Введите число, которое указано выше.
</div>
</div>
</xsl:if>
<span class="form_submit">
<input class="btn_submit" id="submit_email{$comment_id}" type="submit" name="submit_comment" value="Опубликовать"/>
</span>
</form>
</div>
<div class="br"></div><div class="bl"></div>
</div>
</xsl:template>
<!-- Шаблон для отзывов -->
<xsl:template match="comments/comment">
<div class="itemComment">
<xsl:if test="position () mod 2 = 0">
<xsl:attribute name="class">itemComment1</xsl:attribute>
</xsl:if>
<span class="lnkLilac">
<xsl:value-of select="user_name"/>
</span> 
<span class="grayLight">
<xsl:value-of select="date"/>
</span><br />
<xsl:if test="subject != ''">
<span class="lnkLilac1" >
<xsl:value-of select="subject"/>
</span><br />
</xsl:if>
<xsl:value-of select="text" disable-output-escaping="yes"/>
</div>
</xsl:template>
</xsl:stylesheet>