Welcome to WebmasterWorld Guest from

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Web design Help!

web design help needed



7:46 pm on Apr 3, 2012 (gmt 0)

Hi, using BigCommerce.com for our ecommerce site, we wanted to have the currency converter as a drop-down list instead of the default.
We have been able to do the necessary changes and the currency changes work OK when different currencies are selected, BUT the display currency is always USD irrespective of which currency we may select.

Given below is the modified code in 2 parts (files). Please note Bigcommerce uses Placeholders designated by %%----%%:


<span><select ONCHANGE="location = this.options[this.selectedIndex].value";>


<option value="%%GLOBAL_CurrencySwitchLink%%">

Thanks for your help.


9:12 pm on Apr 3, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I would suggest that you check through the Placeholders code to see what GLOBAL_CurrencyName refers to. I might be that USD is hard coded.


11:00 am on Apr 4, 2012 (gmt 0)

I don't think it is hard coded. Such placeholders start with LNG. Also, I have included a version without placeholders and the result is the same:

<select onchange="location = this.options[this.selectedIndex].value">
<option value="?setCurrencyId=1"> USD </option>
<option value="?setCurrencyId=2"> GBP </option>
<option value="?setCurrencyId=3"> EUR </option>
<option value="?setCurrencyId=4"> AUD </option>



12:49 pm on Apr 4, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

If I understand correctly, your page shows a price in XYZ of 10.50

If I want this price to show in Euro, then I select Euro in Panels/SideCurrencySelector.html and 10.50 is correctly converted

but instead of showing Euro, Snippets/SideCurrencySelectorCurrency.html shows USD

If that's the case then I would look again at the original code of the default settings of Panels/SideCurrencySelector.html (before it was a dropdown box) and its connection to Snippets/SideCurrencySelectorCurrency.html for it seems that by converting to a dropdown box this connection was lost.


4:06 pm on Apr 4, 2012 (gmt 0)

Original content given below:


<div class="Block Moveable Panel CurrencyChooser" id="SideCurrencySelector">
<div class="BlockContent">
<dl class="CurrencyList">


<dd class="ChooseCurrencyBox" style="%%GLOBAL_CurrencyFlagStyle%%">
<a href="%%GLOBAL_CurrencySwitchLink%%" class="%%GLOBAL_CurrencySelected%%">
<span class="Flag">%%GLOBAL_CurrencyFlag%%</span>
<span class="Text">%%GLOBAL_CurrencyName%%</span>


Featured Threads

Hot Threads This Week

Hot Threads This Month