开发者

Simple Magento question

I have a website in开发者_StackOverflow Magento, it's still very simple and unfinished.

Since I'm a beginner in this field, I'd like someone to point me to a solution: How do I change the Checkout link text? Is it done inside the phtml/XML structure or inside admin panel? this is my website: [notice the Checkout link] http://gale.dev4.webenabled.net/


you can find locale files under app/locale/language_CODE and change the translation from there . To find the translations either use file search or grep for the string you are looking for

grep '"Checkout"' app/locale/en_US/ -rsn

this will show you filename, line number and the searched string:

app/locale/en_US/Mage_Checkout.csv:40:"Checkout","Checkout"

remember that locale files are utf-8 encoded and cache must be cleared after changing localizations


You should be able to change the text in the the following template

\app\design\frontend\enterprise\default\template\checkout\cart\cartheader.phtml

Kindly note that this is a directory path from an enterprise installation. Yours might be different but the filename of the template should be the same.

Another option is to use the locale files to actually change by Specifying a translation in the appropriate locale file.

HTH :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜