Output the currency symbol in uCommerce
![currency-trading[1]](https://storage.ghost.io/c/64/5b/645b11c2-b436-444c-a523-58dca4ca7bd8/content/images/tim/images/Format-the-currency_97EB/currency-trading1.jpg)
One thing that's always bugged me about uCommerce is the way the prices are displayed (using the not so inviting ISO codes), this is a simple switch statement to output the (prettier) HTML symbol instead.
<xsl:choose> <xsl:when test="@currency = 'GBP'"> <xsl:text disable-output-escaping="yes">&pound;</xsl:text> </xsl:when> <xsl:when test="@currency = 'EUR'"> <xsl:text disable-output-escaping="yes">&euro;</xsl:text> </xsl:when> <xsl:when test="@currency = 'YEN'"> <xsl:text disable-output-escaping="yes">&yen;</xsl:text> </xsl:when> <xsl:otherwise> <xsl:text disable-output-escaping="yes">$</xsl:text> </xsl:otherwise> </xsl:choose>