I am new to magento..as per my design I need to change the currency drop down to a Euro and Dollar Symbols or Images which I had created. So I would like to know how I could go for this? I managed to change the language to Country flags but stuck with this currency issue. Please share a light on this.
I also wanted to know how to replace "Add to wishlist" and "Add to Compare" and replace it with the images or icons created by me. Please guide me in this regard and also how to bring "email a friend" as an image or icon in the row of "Add to wishlist" ?
Thanks
Kris
Best Answer
In your Themes template/directory/currency.phtml change the code to this (this is based on the RWD theme):
This will look like this:
As you can see the magic is done with this line after the
foreach
statement:or now:
EDIT:
If you wish to show images for each currency, there are a couple of ways to do it.
Use CSS and background-images by adding the
$_code
to the a tag class:Then define your css (or in this case scss - sass):
The other method would be to directly output the images again using the
$_code
value - so your images would have to be named correctly eg:currency_USD.png
andcurrency_GBP.png
etc .. and edit your code as such: