1835 Posts in 473 Topics by 403 members
E-Commerce Module
SilverStripe Forums » E-Commerce Module » How to set currency etc.
Discuss the E-Commerce Module.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 1434 Views |
-
How to set currency etc.

9 January 2009 at 11:02pm
I just installed ecommerce-v0.5.2, and it seems to work well. Now, where can I set the currency, tax stuff etc?
-
Re: How to set currency etc.

10 January 2009 at 9:03am
Hi there,
you can change the currency into most regions, you can find the codes in /code/DPSPayment.php* Supported currencies:
* CAD Canadian Dollar
* CHF Swiss Franc
* EUR Euro
* FRF French Franc
* GBP United Kingdom Pound
* HKD Hong Kong Dollar
* JPY Japanese Yen
* NZD New Zealand Dollar
* SGD Singapore Dollar
* USD United States Dollar
* ZAR Rand
* AUD Australian Dollar
* WST Samoan Tala
* VUV Vanuatu Vatu
* TOP Tongan Pa'anga
* SBD Solomon Islands Dollar
* PGK Papua New Guinea Kina
* MYR Malaysian Ringgit
* KWD Kuwaiti Dinar
* FJD Fiji Dollar
*/You can change the Currency using one of the Currency code above then change file /code/Order.php
Line 102 (apprx)
/**
* Currency used in orders
*/
protected static $site_currency = "GBP";That should do it.
Oh and I'm sure this has been covered so do a little searching on the forums before posting
| 1434 Views | ||
|
Page:
1
|
Go to Top |


