About Club osCommerce

Showcasing osCommerce…the good, the bad and the ugly!

Follow osc_pro on Twitter

Currency as Flags, not Dropdown Menu

Written By Gary on Mar 07 2008 · Comments (3) Follow osc_pro on Twitter

Darryl has sent in a very interesting situation and it's one that I completely agree with;

Hi, I'd like to get rid of the currencies menu and instead have flags which relate to the currency, so Dollars would get a USA flag, Euros would get the euro flag and so on. Is this easy to do?

Well, it is simple to do! All that needs to be done is a quick change to the currencies page in your admin section, a change to the currencies class and a change to the currencies infobox code. I got all this done in about 5 minutes!

Here's a video showing the new system in action;

I have written about this before on one of my other blogs – here's what I had to say;

Some people like to use images. If that's you, then that's fine. Why not use images as an indicator of CURRENCY. After all, a USA Flag would be considered US Dollars. A French flag would use Euros's and so on. I have no doubt that some countries probably have more than 1 legal currency, but this is (to me) not the same problem as with LANGUAGE…

Here's some more reading;

My Code

Once I have tested my code on MS2 and RC, I will upload it to the official osCommerce Contributions area. I'll post the link here once I do that.


Buy Gary A Beer?
Buying me a "beer" helps me to keep my contributions updated and keep this blog alive - and you get a link from my homepage to your site. Cheers!


3 Comments

  1. Now available:
    http://addons.oscommerce.com/info/5800

    Comment by Gary — March 7, 2008 @ 5:18 pm


  2. I've a problem: the box displays correctly without uploading an image, but I get a blank page starting from the box position if I upload an image.

    I use Rc2a

    Comment by Liuk — January 5, 2009 @ 3:30 pm


  3. Liuk – could be any number of things. If you need me to have a look, that's do-able – there's a cost attached to that obviously.

    Comment by Gary — January 6, 2009 @ 12:58 pm


Leave a comment

RSS feed for comments on this post · TrackBack URL

Hot 100 osCommerce Shops

View the osCommerce HOT 100These are the best looking, most exceptional osCommerce Stores as voted for by you.

New to osCommerce - get inspiration from these beautiful shops. Reckon your site has what it takes to become a member of the HOT 100? Submit it!