Changing Currency
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
- zinc
-

- Posts: 2202
- Joined: Sat Dec 08, 2007 3:06 pm
- Location: London, United Kingdom
- Contact:
Changing Currency
Pablo
I have two questions (One is a request):
1. Is there a reason why, when setting up currency, the site defaults to US Dollars when my first entry is GPB?
2. Is there any way to AUS/NZ/CDN to the $ sign to not confuse the customer when changing currency? (See your own sample)
Z
I have two questions (One is a request):
1. Is there a reason why, when setting up currency, the site defaults to US Dollars when my first entry is GPB?
2. Is there any way to AUS/NZ/CDN to the $ sign to not confuse the customer when changing currency? (See your own sample)
Z
Proudly running WYSIWYG Web Builder since 2007...
https://50yearsofads.com/
https://50yearsofads.com/
- Pablo
- Posts: 24815
- Joined: Sun Mar 28, 2004 12:00 pm
- Location: Europe
- Contact:
Re: Changing Currency
The default currency can be set in either a PayPal button or eCommerce event. Because that determines the base price.
The order of the currencies in the dropdown menu does not affect this.
There is no standard option to add a currency sign.
The order of the currencies in the dropdown menu does not affect this.
There is no standard option to add a currency sign.
- BaconFries
-

- Posts: 6347
- Joined: Thu Aug 16, 2007 7:32 pm
- zinc
-

- Posts: 2202
- Joined: Sat Dec 08, 2007 3:06 pm
- Location: London, United Kingdom
- Contact:
Re: Changing Currency
EXACTLY!!!!!
Proudly running WYSIWYG Web Builder since 2007...
https://50yearsofads.com/
https://50yearsofads.com/
- zinc
-

- Posts: 2202
- Joined: Sat Dec 08, 2007 3:06 pm
- Location: London, United Kingdom
- Contact:
Re: Changing Currency
OK - Thank you.Pablo wrote: Mon Aug 10, 2026 9:12 am The default currency can be set in either a PayPal button or eCommerce event. Because that determines the base price.
The order of the currencies in the dropdown menu does not affect this.
There is no standard option to add a currency sign.
Proudly running WYSIWYG Web Builder since 2007...
https://50yearsofads.com/
https://50yearsofads.com/
- BaconFries
-

- Posts: 6347
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Changing Currency
@zinc just for testing simply just paste in a blank page between the <body></body> to see it work when selecting the currency from the dropdown.
Code: Select all
<select id="currency-select" onchange="updatePrices()">
<option value="USD">USD</option>
<option value="CAD">CAD</option>
<option value="AUD">AUD</option>
<option value="NZD">NZD</option>
</select>
<span class="price" data-amount="49.99">US$49.99</span>
<script>
const symbols = {
USD: 'US$',
CAD: 'CA$',
AUD: 'AU$',
NZD: 'NZ$'
};
function updatePrices() {
const selectedCurrency = document.getElementById('currency-select').value;
const symbol = symbols[selectedCurrency];
document.querySelectorAll('.price').forEach(el => {
const amount = el.getAttribute('data-amount');
el.textContent = symbol + amount;
});
}
</script>
- zinc
-

- Posts: 2202
- Joined: Sat Dec 08, 2007 3:06 pm
- Location: London, United Kingdom
- Contact:
Re: Changing Currency
This is amazing and it works wonderfully. Can I email you something?
Proudly running WYSIWYG Web Builder since 2007...
https://50yearsofads.com/
https://50yearsofads.com/
- BaconFries
-

- Posts: 6347
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Changing Currency
Yes no problem but heading out for a few hours but will read when back home
- zinc
-

- Posts: 2202
- Joined: Sat Dec 08, 2007 3:06 pm
- Location: London, United Kingdom
- Contact:
Re: Changing Currency
No rush and no worries when you can.BaconFries wrote: Mon Aug 10, 2026 10:29 am Yes no problem but heading out for a few hours but will read when back home
Proudly running WYSIWYG Web Builder since 2007...
https://50yearsofads.com/
https://50yearsofads.com/
- zinc
-

- Posts: 2202
- Joined: Sat Dec 08, 2007 3:06 pm
- Location: London, United Kingdom
- Contact:
Re: Changing Currency
zinc wrote: Mon Aug 10, 2026 10:30 amNo rush and no worries when you can.BaconFries wrote: Mon Aug 10, 2026 10:29 am Yes no problem but heading out for a few hours but will read when back home
What is the email again?
Proudly running WYSIWYG Web Builder since 2007...
https://50yearsofads.com/
https://50yearsofads.com/
- BaconFries
-

- Posts: 6347
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Changing Currency
I will contact you via the email in your profile if still in use.
- zinc
-

- Posts: 2202
- Joined: Sat Dec 08, 2007 3:06 pm
- Location: London, United Kingdom
- Contact:
Re: Changing Currency
No worries.BaconFries wrote: Mon Aug 10, 2026 11:16 am I will contact you via the email in your profile if still in use.
Proudly running WYSIWYG Web Builder since 2007...
https://50yearsofads.com/
https://50yearsofads.com/


