Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

currencies question


Guest

Recommended Posts

I am trying to change alot of stock oscommerce look and feel from my site - and right now my project is the currencies select dropdown box.

 

I want to use images instead of the dropdown

I have everything working minus getting a way to set an image according to the selected currency.

 

this is a basic of how i would like it to work

 

if global currency = USD {

 

echo dollar_active.jpg, euro.jpg, gb_pound.jpg;

 

} else if global currency = EUR {

 

echo dollar.jpg, euro_active.jpg, gb_pound.jpg;

 

} else if global currency = GBP {

 

echo dollar.jpg, euro.jpg, gb_pound_active.jpg;

 

}

 

I just have no idea how to call the selected currency, any ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...