Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I know what currency was used?


Guest

Recommended Posts

Posted

I have two currencies set up - US and Canadian with Canadian being the default. What I'm confused about is a Canadian customer could choose to shop with the American currency (which would mean lower prices) and when the order gets sent to me I don't see any way to determine what currency the customer was shopping with. Any ideas? :?

Posted

For the USD currency you could change the symbol right to USD, then when the shopper uses the american currency it will show as $0.00USD.

 

-Matt

  • 6 months later...
Posted

I just dealt with the same problem. I didn't want to put USD or CAD after each price, but just indicate the total amount in the chosen currency.

 

In ot_total.php I changed $this->output[] = ... to

$this->output[] = array('title' => $this->title . ' (' . $order->info['currency'] . '):',

 

and now the order confirmation, invoice etc. show e.g. Total (USD): $100.00

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...