I am trying to add the Xsl value of sale price and the xsl if value of You Save $x.xx - (x%) on the same line. So it looks something like this:
Regular Price: $x.xx
Sale Price: $x.xx - You Save $x.xx (x%)
So far I can get it on two separate lines - but not one. Any ideas?
Code:
<div>
<span>
<h4><xsl:attribute name="id">VariantPrice_<xsl:value-of select="VariantID"/></xsl:attribute></h4>
<h3><xsl:value-of select="aspdnsf:GetVariantPrice(VariantID, number(HidePriceUntilCart), Price, SalePrice, ExtendedPrice, Points, $pSalesPromptName, TaxClassID)" disable-output-escaping="yes"/></h3>
<h5><xsl:if test="SalePrice > 0">You Save $<xsl:value-of select="format-number((Price - SalePrice),'##.00')" /> (<xsl:value-of select="100-(round((format-number (SalePrice div Price,'##.00'))*100))" />%)
</xsl:if></h5>
</span>
</div>