Social Icons

twitterfacebookgoogle pluslinkedinemail

Saturday 31 January 2015

How to add or change currency symbol in magento



Hello Friends,

Here i want to learn you that how can we add the Indian Rs currency symbol in magento. I searched on internet but not found proper answer. so i want to write this article for this.

Hope you all are enjoying with this.




 Here is the steps to change symbol

1. Please open the FTP or cpanel
2. go to this directory lib/Zend/Locale/Data
3. Please open file name root.xml
4. here are the list of all the currency symbols. you can change any currency symbols from here
5. write the below code inside this file.
for indian RS go to line no 2867 or find "<currency type="INR">"  text

<currency type="INR">
        <symbol>RS</symbol>
</currency>

Replace to

<currency type="INR">
      <symbol>&#x20B9;</symbol>
</currency>


6. Please clear the catch from the backend and refresh the site you can see the set currency symbol on your site.

Hope this article will help you

Thank you
Enjoy Your Self


Tuesday 20 January 2015

How to add select dropdown in magento registration page for Date of birth field

Hello Friends,

Today i want to know you that how you can add to convert textbox to select dropdown for date of birth field on registration page.

you can not add the dropdown in magento registration form for date of birth because its working on textbox and it update those value in
<input type="hidden" id="dob" name="dob">

without it we can not store the DOB in magento db.

Here is the simple way to integrate dropdown in DOB.

 

Free Advertisement

Free Advertisement

Free Advertisement

Free Advertisement