When the order confirmation email goes out to the customer, the billing currency is alway in site default € even thought the buy is done in $. How can we change so it is in the customers choice?
var Template= "order-purchaseorder-notify";
TemplateService.Process(Template, Thread.CurrentThread.CurrentCulture, DictionaryObject);
<xsl:value-of select="BillingCurrency"/> <xsl:value-of select="format-number(SubTotal, '###,###.00')"/>
Hi Luc, I was made aware of this post via a support case by a colleague of yours.
I checked the xsl template and it is using the BillingCurrency property of the PurchaseOrder class (base class OrderGroup).
The instance of PurchaseOrder is passed in through your DictionaryObject parameter and is serialized in the Process() method of the XslTemplateProvider class.
Could you check if the value of this property is being set correctly during order creation?
The problem was that we did not use the default pricelist functionality, we converted the purchase from $ to €. When we save the puchase in the currency that is is done in, it works.