Page 1 of 1
How Do I Add Multiple Currencies?
Posted: 02 Jan 2015, 23:02
by John45
Is there a way to add another currency instead of the default. I think there is, I've taken a look at the donation_body.html, but can anyone help me change it to proper code, so I don't screw something up.
Thanks
Re: How Do I Add Multiple Currencies?
Posted: 03 Jan 2015, 06:57
by Stoker
These are the lines in donate_body.html that displays the choice of currency. The first line is the default currency:
Code: Select all
<option value="USD" selected="selected">{L_DONATION_USD}</option>
<option value="EUR">{L_DONATION_EUR}</option>
<option value="GBP">{L_DONATION_GBP}</option>
<option value="JPY">{L_DONATION_JPY}</option>
<option value="AUD">{L_DONATION_AUD}</option>
<option value="CAD">{L_DONATION_CAD}</option>
<option value="HKD">{L_DONATION_HKD}</option>
Re: How Do I Add Multiple Currencies?
Posted: 04 Jan 2015, 00:34
by John45
Stoker wrote:These are the lines in donate_body.html that displays the choice of currency. The first line is the default currency:
Code: Select all
<option value="USD" selected="selected">{L_DONATION_USD}</option>
<option value="EUR">{L_DONATION_EUR}</option>
<option value="GBP">{L_DONATION_GBP}</option>
<option value="JPY">{L_DONATION_JPY}</option>
<option value="AUD">{L_DONATION_AUD}</option>
<option value="CAD">{L_DONATION_CAD}</option>
<option value="HKD">{L_DONATION_HKD}</option>
So, for example I could add a line like this:
Code: Select all
<option value="TAKA">{L_DONATION_TAKA}</option>
And, it would work fine?
You got it all wrong, I want to add another currency e.g. Mexican Peso. -.-
Re: How Do I Add Multiple Currencies?
Posted: 04 Jan 2015, 06:24
by Stoker
Yes, if TAKA is the correct currency code and if you add {L_DONATION_TAKA} to the included language file.
You can see more about currency codes at the paypal developer site.
Re: How Do I Add Multiple Currencies?
Posted: 04 Jan 2015, 07:33
by John45
Stoker wrote:Yes, if TAKA is the correct currency code and if you add {L_DONATION_TAKA} to the included language file.
You can see more about currency codes at the paypal developer site.
Works! Thanks.