Hello Everyone,
You can also refer to the video showing how it actually works
But sometimes you want to insert an image instead of text
for e.g. if you want insert rupee symbol instead of "Rs" follow this tutorial.
Today I’m going to tell you how to change Currency symbol in magento.In simple words, This tutorial will tell to change the currency symbol of dollar (from $ to Rs). By default, the currency symbol for dollar is $.But if you want to insert rupee symbol instead of "Rs" follow this tutorial.
For this, you need to edit lib/Zend/Locale/Data/en.xml
Well, the xml file to edit depends upon your locale settings. My locale is set to English (United States). So, I will have to change en.xml file.
You can change your locale setting from
Admin Panel –> System –> Configuration –> GENERAL –> General –> Locale options –> Locale
If your locale is Japanese (Japan), you need to change lib/Zend/Locale/Data/ja.xml
If your locale is Hindi (India), you need to change lib/Zend/Locale/Data/ne.xml
It’s similar for other locale settings. I have locale setting as English, so I will be editing en.xml file.
- Open lib/Zend/Locale/Data/en.xml
- Find the following :-
<
currency
type
=
"USD"
>
<
displayName
>US Dollar</
displayName
>
<
displayName
count
=
"one"
>US dollar</
displayName
>
<
displayName
count
=
"other"
>US dollars</
displayName
>
<
symbol
>$</
symbol
>
</
currency
>
- Change
< symbol >$</ symbol > |
-to
< symbol >Rs</ symbol > |
But wait, you are still not done. The most important thing is still left.
- Clear the Cache.
- Go to System –> Cache Management
- Refreh Cache.
- If you have not enabled the Cache OR if it didn’t work even after refreshing the cache, then
- delete the cache folder present inside var (var/cache)
|
But sometimes you want to insert an image instead of text
for e.g. if you want insert rupee symbol instead of "Rs" follow this tutorial.
For any magento customization contact :
Company : Parsys Media
Mumbai Office :
Mobile No : +91-8123481528(Ashish Khadpe)
Hi Guys
ReplyDeletei have applied your stteps and iam successfull, thx to you guys.
But iam facing a slight issue, when the prices are zero the symbol rule dosent apply it still shows Rs instead of symbol ( only for zero price)
and in category price range it shows as Rs 0- Rs Symbol 1000.
how could i change the price range Rs 0 into symbol 0
please check my link www.newspapersubscription.co.cc for better understanding
your inputs will help me solve this issue
please mail me ur answer at ghanshyam.saini@gmail.com
It is working perfect at our website
ReplyDeletehttp://www.babanbaby.com/first-needs/clothing
You might be entering Rs.o instead of Rs.0
Excellent this works...............
ReplyDeleteNow this is Informative writing, Keep up the good work.
ReplyDeleteMagento Integration.
Hello,
ReplyDeleteMyself Nidhi. My domain is glocalshopper.com. We want to remove Addthis Plugin from our website. How can I remove this from our website. Please guide us in this regard.
gud work :-)
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteNice blog and Thank you for sharing. Visit our magento development company India
ReplyDelete