Magento 1.9 中 table 运费的地区(非国家)代码

Region (not country) codes for table rates shipping in Magento 1.9

我正在为 Magento 安装添加 table 费率运送方式。 我的费率按重量分为 6 个不同的范围 0-3 | 3-6 | 7-10 | 11-25 | 26-50 | 50-100 除了 3 个地区外,整个意大利都是一样的。

在这些地区,相同重量范围的价格略有不同。因此,如果能够将区域代码添加到正确的字段中会非常好,但是 我在哪里可以找到这些代码?

Headers转换成CSV是:

Country,Region/State,"Zip code","Weight (and Above)","Shipping Price"

我需要了解我必须添加到 "Region/State" 文件中的内容。 使用邮政编码添加不同的价格意味着手动向我的简历添加 7056 行!

TNKS.

去看看你的 magento 数据库中的这个 table;

select * from directory_country_region

这会显示您商店中当前的所有区域;

1   US  AL  Alabama
2   US  AK  Alaska
3   US  AS  American Samoa
4   US  AZ  Arizona
5   US  AR  Arkansas
6   US  AE  Armed Forces Africa
7   US  AA  Armed Forces Americas
8   US  AE  Armed Forces Canada
9   US  AE  Armed Forces Europe
10  US  AE  Armed Forces Middle East

等C 列是区域代码。如果需要,您可以添加到此。