Hi there, I've been looking at this thread: http://forums.aspdotnetstorefront.co...ad.php?t=19647
I need to display alternative currencies underneath the main currency on the product details page.
To do this, I've tried to modify product.SimpleProduct.xml.config
C#/VB.NET Code:
<span class="large">
<xsl:value-of select="aspdnsf:GetVariantPrice(VariantID, number(HidePriceUntilCart), Price, SalePrice, ExtendedPrice, Points, $pSalesPromptName, TaxClassID)" disable-output-escaping="yes" />
<xsl:value-of select="aspdnsf:Localization.FormatCurrencyWithoutCurrencyCode(Price,'EUR')" disable-output-escaping="yes" />
</span>
(I added the Localization.FormatCurrencyWithoutCurrencyCode part).
However, this produces the error:
C#/VB.NET Code:
XmlPackage Exception: Exception=Last Trace Point=[]. Extension object 'urn:aspdnsf' does not contain a matching 'FormatCurrencyWithoutCurrencyCode' method that has 2 parameter(s).
System.ArgumentException: Last Trace Point=[]. Extension object 'urn:aspdnsf' does not contain a matching 'FormatCurrencyWithoutCurrencyCode' method that has 2 parameter(s).
at AspDotNetStorefrontCommon.XmlPackage2.TransformString() at AspDotNetStorefrontCommon.AppLogic.RunXmlPackage(XmlPackage2 p, Parser UseParser, Customer ThisCustomer, Int32 SkinID, Boolean ReplaceTokens, Boolean WriteExceptionMessage) in C:\ASPDNSF\Builds\ML7100CSharp\ASPDNSFCommon\ProductCollection.cs:line 499
I also tried
C#/VB.NET Code:
<xsl:value-of select="aspdnsf:Localization.CurrencyStringForDisplayWithoutExchangeRate(Price, 'EUR')" disable-output-escaping="yes" />
but this produces the same error.
Please could anybody point me in the right direction?
AHA, Ben