Currency in order confirmation email

Member since: 2007

Dear experts,

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')"/>

    

#64400 Dec 19, 2012 10:28
  • Member since: 2012

    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?

    #64851 Jan 11, 2013 20:44
  • Member since: 2012

    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?

    #64852 Jan 11, 2013 20:44
  • Member since: 2007

    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.

    #65448 Jan 30, 2013 12:30