There are some bugs with the currency and the ecommerce mosule. Sometimes it display the currency as defined in the Order class, sometimes it use the one from the Currency class and sometimes it display them both.
To fix this, do the following:
1. on mysite/_config.php add the following:
Currency::setCurrencySymbol('$'); //change this to the relevant symbol
Order::set_site_currency('USD'); //change this to the relevant currency code
2. on ecommerce/code/forms/OrderForm.php fix the line from
$total = '$' . number_format($currentOrder->Total(), 2);
into
$total = new Currency('MyField');
$total->setValue($currentOrder->Total());
$paymentFields = Payment::combined_form_fields($total->Nice() ." ", $currentOrder->Total());
(this is line #70 on ecommerce trunk-r70743)
3. on ecommerce/templates/Includes/OrderInformation_Editable.ss fix the line from
<td class="right" id="$TableTotalID">$Total.Nice $Currency</td>
into
<td class="right" id="$TableTotalID">$Total.Nice</td>
(this is line #89 on ecommerce trunk-r70743)
<td id="$TableTotalID" class="price">$Total.Nice $Currency</td>
into
<td id="$TableTotalID" class="price">$Total.Nice</td>
(this is line #51 on ecommerce trunk-r70743)
4. on ecommerce/templates/Includes/Order_Content.ss fix the line from
<td class="price">$TotalOutstanding.Nice $Currency</td>
into
<td class="price">$TotalOutstanding.Nice</td>
(this is line #59 on ecommerce trunk-r70743)
4. on ecommerce/templates/Includes/ProductGroupItem.ss fix the line from
<% if Price %><span class="price_display">$Price.Nice $Currency $TaxInfo.PriceSuffix</span><% end_if %>
into
<% if Price %><span class="price_display">$Price.Nice $TaxInfo.PriceSuffix</span><% end_if %>
(this is line #12 on ecommerce trunk-r70743)
5. on ecommerce/templates/Includes/Cart.ss fix the line from
<li class="total"><% _t("TOTAL","Total") %>: <strong id="$CartTotalID">$Total.Nice $Currency</strong></li>
into
<li class="total"><% _t("TOTAL","Total") %>: <strong id="$CartTotalID">$Total.Nice</strong></li>
(this is line #76 on ecommerce trunk-r70743)
6. on ecommerce/templates/Layout/Product.ss fix the line from
<% if Price %><p class="price_display">$Price.Nice $Currency $TaxInfo.PriceSuffix</p><% end_if %>
into
<% if Price %><p class="price_display">$Price.Nice $TaxInfo.PriceSuffix</p><% end_if %>
(this is line #59 on ecommerce trunk-r70743)
6. on ecommerce/templates/Layout/AccountPage_order.ss fix the line from
<td scope="col">$Amount.Nice $Currency</td>
into
<td scope="col">$Amount.Nice</td>
(this is line #89 on ecommerce trunk-r70743)
I hope I didn't miss anything...
Rotem.