homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Web design Help!
web design help needed

Msg#: 4436834 posted 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.



WebmasterWorld Senior Member 10+ Year Member

Msg#: 4436834 posted 9:12 pm on Apr 3, 2012 (gmt 0)

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.


Msg#: 4436834 posted 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>



WebmasterWorld Senior Member 10+ Year Member

Msg#: 4436834 posted 12:49 pm on Apr 4, 2012 (gmt 0)

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.


Msg#: 4436834 posted 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>


Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved