将新国家/地区添加到Magento
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了将新国家/地区添加到Magento相关的知识,希望对你有一定的参考价值。
1. Open lib/zend/locale/data/en.xml2. Locate territories tag in this file
3. copy one of territory tags for the syntax and paste it within the territories tag
4. hard part here is to add country code in this file as might not be able to find a unique one, so it's upto you.
5. Save this file
6. Open table name directory_country
7. It has predefined syntax follow then same and create a new row and enter the same country code as entered in the en.xml file in 3 columns.
8. Refresh the site's cache.
9. Admin > Configuration > General this new country should be selected in list of allowed countries.
New country should be visible now.
:)
以上是关于将新国家/地区添加到Magento的主要内容,如果未能解决你的问题,请参考以下文章
Magento:为国家/地区 magento 设置默认商店视图