Page 1 of 1

Currency dropdown list on the basket page

Posted: Thu Feb 28, 2008 11:03 am
by DS1
Hi,

How do I add the currency dropdown list to the basket page? It would be useful to customers to change to their currency before making a purchase.

Also, is there some way to display the type of currency in the basket - ie EUR or GBP or the symbols near the price of each item? Currently the display only shows the dollar sign and it is confusing when the price is actually in Euros.

thank you in advance for your assistance

Posted: Fri Feb 29, 2008 9:47 am
by sohaib
Hello,

Good news is that you already have a solution for this almost 'out of the box'.

There are two user controls in conlib
UserCurrencyDropDown
and
UserCurrencyMenuDropDown

The UserCurrencyMenuDropDown will completely solve your problem.

Add it to the basket page where you want the drop-down to display. You can either add it in the Basket Page's scriptlet or Basket's ConLib control.

For example after adding it to the Basket Page scriptlet my scriptlet looks like this

Code: Select all

<div>
<h1>My Basket</h1>
</div>
[[ConLib:UserCurrencyMenuDropDown]]
[[ConLib:Basket]]

Note the new [[ConLib:UserCurrencyMenuDropDown]] line


Thats all.


The other thing that you have mentioned is that basket by default shows US dollar. Whatever the store's base currency you have set in your currencies configuration in merchant admin will be shown by default.

Change the store's base currency if you like. (Note. Just edit and rename the existing base currency and its symbol)

Thanks,
Sohaib

Posted: Sat Mar 01, 2008 11:36 pm
by DS1
The base currency is set to GBP. The prices on my website are correct (it is in GBP), but still shows the $ sign in front of the price. It should show the £ sign. Similarly it should show the ¥ for Yen, etc. for whatever is being displayed.

Posted: Sun Mar 02, 2008 11:15 am
by Shopping Cart Admin
Hello,

Then you must have the Currency Symbol set to '$' for all currencies.

Posted: Sun Mar 02, 2008 11:44 am
by AbleMods
The $ is the default symbol when adding a new currency in the Manage Currency screen. The system does not automatically decide the currency symbol based on the ISO code chosen.

But it's very easy to change. Just go into the Manage Currency screen and edit the currency entry. The Symbol field at the bottom is where you can enter a new symbol for that particular currency.