Как в HostCMS сделать условие что цена=0
<xsl:choose>
<xsl:when test="price_discount=0">
<span style="color: #C35419;font-size:14px; font-weight:bold;">Цена зависит от комплектации</span>
</xsl:when>
<xsl:otherwise>
<div class="block_price2">
<span class="price"><xsl:value-of select="format-number(price_discount, '### ##0', 'my')"/></span>
<span style=" color: #525252; float:right; margin-right:8px;">руб.</span>
</div>
</xsl:otherwise>
</xsl:choose>
HostCMS
04.02.2011, 469 просмотров.
|