Hiii
I am using magento 1.4,I want to change indian currency symbol Rs with new rupee symbol on frontend as well as backend.
Anyone Can tell me about this???
If I'm not wrong the symbol definitions can be found into
lib/Zend/Locale/Data/characters.xml
lib/Zend/Locale/Data/root.xml
If you change those values then copy those files to your local code-pool
app/code/local/Zend/Locale/Data/characters.xml
app/code/local/Zend/Locale/Data/root.xml
when done don't forget to clear cache
rm -rf var/cache/*
Navigate to your magento root directory and open lib/Zend/Locale/Data/root.xml
after that add the symbol = amp#8377;(& for amp) or amp#x20B9;(& for amp) in the following block
<currency type="INR">
<symbol> ₹ </symbol>
</currency>
For magento 2.2.5 version, to display rupees symbol, add Roboto font family
and update font-family in css file
https://fonts.google.com/specimen/Roboto?selection.family=Roboto
<style>
#font-face{font-family:'Roboto';src:url(path_of_font/roboto-regular-webfont.woff) format('woff'),url(path_of_font/roboto-regular-webfont.ttf) format('truetype');}
body{color:#333;font-family:'Open Sans','Helvetica Neue','Helvetica','Roboto';font-style:normal;font-weight:400;line-height:1.42857143;font-size:1.4rem}
</style>
<symbol>₹</symbol>
Login to your magento admin panel and follow the below steps
1.System->Configuration->Currency setup
in Currency options tap change all the fields to indian rupee, but the 'Base Currency' is important to change
2.Save the changes
3.Again go to System->Manage Currency->Symbols
in that window shows the default rupee symbols, you just type ₹ (and put semicolon ; at end) in the Symbol column and uncheck the 'use default' at last and save the changes.
Now go to your user page it will show the rupee symbol. It will work for me in magento 1.9
Related
I have Magento 1.7 installed, I have this theme called ves_gift, at the end of the Checkout (before clicking "checkout" actually) I have the terms of agreement:
The checkbox contains a link connected to the "privacy terms".
The point is that is a wrong/broken link, and I need to change its href, how do I fix it?
Also the word "Aaccetto" should be with one A only, not double. "Accetto" is the right word. Where is the translation file for that?
You need to find the template where the HTML contents of the checkbox. Then you can modify as per your wish.
Try installing Magento-Debug from magentocommerce, and find the template being used.
If you want to translate, then use the CSV file for translation in your theme, as per your language rather than hard-coding in Phtml files.
Remmeber : only Html strings echoed with $this->__('MYSAMPLETEXT'); can only be translated. So, in the CSV file you could do
MYSAMPLETEXT,MYTRANSLATEDTEXT
and then magento will translate the string for you, as simple as that.
file path:-
app\design\frontend\default\your-theme\template\checkout\onepage\agreements.phtml
if its work vote for me, and not let me know...
Thanks
Ravi
Rupee currency symbol not rendering properly in my invoice pdf.. It shows tags like this **₹**. Please someone help me out this issue.
You could try changing the font of the invoice. That can be done by making local versions of these files:
app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
Put them to:
app/code/local/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
app/code/local/Mage/Sales/Model/Order/Pdf/Abstract.php
Then edit functions _setFontRegular, _setFontBold and _setFontItalic.
$font = Zend_Pdf_Font::fontWithPath(Mage::getBaseDir(). /lib/LinLibertineFont/**yourfont**.ttf);
Also you have to put yout TTF font file to the lib/LiLibertineFont folder. You could try font like DejaVuSans. That worked for Nigerian Naira currency at least.
the solution for this problem is very simple
just click on system --> Magnage currency -->symbols --> Copy your symbol like in my case "₹" and save...
My pdf problem solved with this :)
Hope this help
This should be easy, but I'm not getting any useful results.
www.wilfrednewman.com
I'm trying to edit the menu and keep it on one line. Either forced one line or edit the spacing on my own.
I changed a bunch of margin/padding settings for the ul(got the ul name from top.phtml, then changed skin/frontend/default/blanco/css/menu1.css, but it isn't changing anything.
Using blanco theme. Any ideas to get me started?
Thanks!
Edit: Had to change the name to 'STORE' so it would show up on the same line for the time being. But if I change it to Online Store, instead of pushing the menu items closer together it defaults to two lines!
It looks like you just need #nav > li{padding:8px 15px;} in menu1.css. Change the 15px value up or down to tune the spacing.
If it isn't making any difference check that the CSS file is not cached anywhere (from Magento back-end right through to your browser).
Want to know, how can i change the block title of Related product block in magento? I mean that, i want to replace the title named "Related product" with my own text.
Thanks
Mostaq
Hello check below file
app/design/frontend/base/default/template/catalog/product/list/related.phtml or
app/design/frontend/your_current_theme/default/template/catalog/product/list/related.phtml
Hope this help you.
After GO to Your related page and see the red line with book
icon to click on it and replace your text without Going To file System.
For Backend Related Product Tab Label Change for
1) direct change on core file:
app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tabs.php
find Related and replace
2)Create Module to dynamic :
http://stackoverflow.com/questions/16481564/where-to-change-magento-default-tabs-on-products
I have a currency select box on my magento install. It is located exactly where I want it and all is good.
However I want to add a piece of text below the drop down select box just telling people that they will be charged in NZD.
Problem is I have edited app\design\frontend\base\default\template\directory\currency.phtml but no changes happen on the front end.
I have even changed __('Select Your Currency') ?> to __('HEY') ?> Just to see would it work and nothing, it didn't change the header of the box at all.
Please help, what am I doing wrong, am I am idiot?
Thanks in advance.
Hii Instead of using base theme try changing in your current working theme it will reflect
For ex:-
\app\design\frontend\yourtheme\yourtheme\template\directory\currency.phtml
Thanks...
Are you modifying base theme for all your template requirement.This is not Magento standard practice.
Switch on Hints and check the block and html involved. Modify that .phtml ot write some code in associated block file and call that block function from your .phtml