В XSL шаблоне Магазин Товар, что касаемо комментариев есть только вот это:
<!-- Если указано отображать комментарии -->
<xsl:if test="/shop/show_comments/node() and /shop/show_comments = 1">
<!-- Отображение комментариев -->
<xsl:if test="count(comment) > 0">
<p class="h1"><a name="comments"></a>Комментарии</p>
<xsl:apply-templates select="comment"/>
</xsl:if>
</xsl:if>
</xsl:template>
и
<!-- Отображение комментариев -->
<xsl:template match="comment">
<!-- Отображаем комментарий, если задан текст или тема комментария -->
<xsl:if test="text != '' or subject != ''">
<a name="comment{@id}"></a>
<div class="comment" id="comment{@id}">
<xsl:if test="subject != ''">
<div class="subject" hostcms:id="{@id}" hostcms:field="subject" hostcms:entity="comment"><xsl:value-of select="subject"/></div>
</xsl:if>
<div hostcms:id="{@id}" hostcms:field="text" hostcms:entity="comment" hostcms:type="wysiwyg"><xsl:value-of select="text" disable-output-escaping="yes"/></div>
<p class="tags">
<!-- Оценка комментария -->
<xsl:if test="grade != 0">
<span><xsl:call-template name="show_average_grade">
<xsl:with-param name="grade" select="grade"/>
<xsl:with-param name="const_grade" select="5"/>
</xsl:call-template></span>
</xsl:if>
<img src="/images/user.png" />
<xsl:choose>
<!-- Комментарий добавил авторизированный пользователь -->
<xsl:when test="count(siteuser) > 0">
<span><a href="/users/info/{siteuser/login}/"><xsl:value-of select="siteuser/login"/></a></span>
</xsl:when>
<!-- Комментарй добавил неавторизированный пользователь -->
<xsl:otherwise>
<span><xsl:value-of select="author" /></span>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="rate/node()">
<span id="comment_id_{@id}" class="thumbs">
<xsl:choose>
<xsl:when test="/shop/siteuser_id > 0">
<xsl:choose>
<xsl:when test="vote/value = 1">
<xsl:attribute name="class">thumbs up</xsl:attribute>
</xsl:when>
<xsl:when test="vote/value = -1">
<xsl:attribute name="class">thumbs down</xsl:attribute>
</xsl:when>
</xsl:choose>
<span id="comment_likes_{@id}"><xsl:value-of select="rate/@likes" /></span>
<span class="inner_thumbs">
<a onclick="return $.sendVote({@id}, 1, 'comment'

" href="{/shop/url}?id={@id}&vote=1&entity_type=comment" alt="Нравится"></a>
<span class="rate" id="comment_rate_{@id}"><xsl:value-of select="rate" /></span>
<a onclick="return $.sendVote({@id}, 0, 'comment'

" href="{/shop/url}?id={@id}&vote=0&entity_type=comment" alt="Не нравится"></a>
</span>
<span id="comment_dislikes_{@id}"><xsl:value-of select="rate/@dislikes" /></span>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">thumbs inactive</xsl:attribute>
<span id="comment_likes_{@id}"><xsl:value-of select="rate/@likes" /></span>
<span class="inner_thumbs">
<a alt="Нравится"></a>
<span class="rate" id="comment_rate_{@id}"><xsl:value-of select="rate" /></span>
<a alt="Не нравится"></a>
</span>
<span id="comment_dislikes_{@id}"><xsl:value-of select="rate/@dislikes" /></span>
</xsl:otherwise>
</xsl:choose>
</span>
</xsl:if>
<img src="/images/calendar.png" /> <span><xsl:value-of select="datetime"/></span>
<xsl:if test="/shop/show_add_comments/node()
and ((/shop/show_add_comments = 1 and /shop/siteuser_id > 0)
or /shop/show_add_comments = 2)">
<span class="red" onclick="$('.comment_reply'

.hide('slow'

;$('#cr_{@id}'

.toggle('slow'

">ответить</span></xsl:if>
<span class="red"><a href="{/shop/shop_item/url}#comment{@id}" title="Ссылка на комментарий">#</a></span>
</p>
</div>
<!-- Отображаем только авторизированным пользователям -->
<xsl:if test="/shop/show_add_comments/node() and ((/shop/show_add_comments = 1 and /shop/siteuser_id > 0) or /shop/show_add_comments = 2)">
<div class="comment_reply" id="cr_{@id}">
<xsl:call-template name="AddCommentForm">
<xsl:with-param name="id" select="@id"/>
</xsl:call-template>
</div>
</xsl:if>
<!-- Выбираем дочерние комментарии -->
<xsl:if test="count(comment)">
<div class="comment_sub">
<xsl:apply-templates select="comment"/>
</div>
</xsl:if>
</xsl:if>
</xsl:template>
<!-- Шаблон вывода добавления комментария -->
<xsl:template name="AddCommentForm">
<xsl:param name="id" select="0"/>
<!-- Заполняем форму -->
<xsl:variable name="subject">
<xsl:if test="/shop/comment/parent_id/node() and /shop/comment/parent_id/node() and /shop/comment/parent_id= $id">
<xsl:value-of select="/shop/comment/subject"/>
</xsl:if>
</xsl:variable>
<xsl:variable name="email">
<xsl:if test="/shop/comment/email/node() and /shop/comment/parent_id/node() and /shop/comment/parent_id= $id">
<xsl:value-of select="/shop/comment/email"/>
</xsl:if>
</xsl:variable>
<xsl:variable name="phone">
<xsl:if test="/shop/comment/phone/node() and /shop/comment/parent_id/node() and /shop/comment/parent_id= $id">
<xsl:value-of select="/shop/comment/phone"/>
</xsl:if>
</xsl:variable>
<xsl:variable name="text">
<xsl:if test="/shop/comment/text/node() and /shop/comment/parent_id/node() and /shop/comment/parent_id= $id">
<xsl:value-of select="/shop/comment/text"/>
</xsl:if>
</xsl:variable>
<xsl:variable name="name">
<xsl:if test="/shop/comment/author/node() and /shop/comment/parent_id/node() and /shop/comment/parent_id= $id">
<xsl:value-of select="/shop/comment/author"/>
</xsl:if>
</xsl:variable>
<div class="comment">
<!--Отображение формы добавления комментария-->
<form action="{/shop/shop_item/url}" name="comment_form_0{$id}" method="post">
<!-- Авторизированным не показываем -->
<xsl:if test="/shop/siteuser_id = 0">
<div class="row">
<div class="caption">Имя</div>
<div class="field">
<input type="text" size="70" name="author" value="{$name}"/>
</div>
</div>
<div class="row">
<div class="caption">E-mail</div>
<div class="field">
<input id="email{$id}" type="text" size="70" name="email" value="{$email}" />
<div id="error_email{$id}"></div>
</div>
</div>
<div class="row">
<div class="caption">Телефон</div>
<div class="field">
<input type="text" size="70" name="phone" value="{$phone}"/>
</div>
</div>
</xsl:if>
<div class="row">
<div class="caption">Тема</div>
<div class="field">
<input type="text" size="70" name="subject" value="{$subject}"/>
</div>
</div>
<div class="row">
<div class="caption">Комментарий</div>
<div class="field">
<textarea name="text" cols="68" rows="5" class="mceEditor"><xsl:value-of select="$text"/></textarea>
</div>
</div>
<div class="row">
<div class="caption">Оценка</div>
<div class="field stars">
<select name="grade">
<option value="1">Poor</option>
<option value="2">Fair</option>
<option value="3">Average</option>
<option value="4">Good</option>
<option value="5">Excellent</option>
</select>
</div>
</div>
<!-- Обработка CAPTCHA -->
<xsl:if test="//captcha_id != 0 and /shop/siteuser_id = 0">
<div class="row">
<div class="caption"></div>
<div class="field">
<img id="comment_{$id}" class="captcha" src="/captcha.php?id={//captcha_id}{$id}&height=30&width=100" title="Контрольное число" name="captcha"/>
<div class="captcha">
<img src="/images/refresh.png" /> <span onclick="$('#comment_{$id}'

.updateCaptcha('{//captcha_id}{$id}', 30); return false">Показать другое число</span>
</div>
</div>
</div>
<div class="row">
<div class="caption">
Контрольное число<sup><font color="red">*</font></sup>
</div>
<div class="field">
<input type="hidden" name="captcha_id" value="{//captcha_id}{$id}"/>
<input type="text" name="captcha" size="15"/>
</div>
</div>
</xsl:if>
<xsl:if test="$id != 0">
<input type="hidden" name="parent_id" value="{$id}"/>
</xsl:if>
<div class="row">
<div class="caption"></div>
<div class="field">
<input id="submit_email{$id}" type="submit" name="add_comment" value="Опубликовать" class="button" />
</div>
</div>
</form>
</div>
</xsl:template>