
內容簡介
這個外掛為 WooCommerce 地址表單的州和城市欄位添加了可用國家的位置(參見下面的列表),使這些欄位可過濾,以增強用戶體驗。
此外,它還將各州添加到運送區域(城市不兼容此區域)。
支援的國家
🇩🇿 阿爾及利亞
🇦🇺 澳大利亞
🇧🇭 巴林
🇧🇩 孟加拉國
🇧🇧 巴巴多斯
🇧🇴 玻利維亞
🇧🇷 巴西
🇧🇫 布基納法索
🇨🇱 智利
🇨🇴 哥倫比亞
🇨🇺 古巴
🇩🇰 丹麥
🇩🇴 多米尼加共和國
🇪🇨 厄瓜多爾
🇪🇬 埃及
🇸🇻 薩爾瓦多
🇬🇭 迦納
🇬🇹 危地馬拉
🇭🇹 海地
🇭🇳 洪都拉斯
🇮🇹 意大利
🇰🇿 哈薩克斯坦
🇰🇼 科威特
🇱🇧 黎巴嫩
🇲🇾 馬來西亞
🇲🇺 毛里求斯
🇲🇽 墨西哥
🇳🇮 尼加拉瓜
🇳🇪 尼日
🇳🇬 尼日利亞
🇴🇲 阿曼
🇵🇰 巴基斯坦
🇵🇦 巴拿馬
🇵🇾 巴拉圭
🇵🇪 秘魯
🇵🇹 葡萄牙
🇷🇴 羅馬尼亞
🇷🇺 俄羅斯
🇸🇦 沙特阿拉伯
🇪🇸 西班牙
🇱🇰 斯里蘭卡
🇹🇳 突尼斯
🇹🇷 土耳其
🇦🇪 阿拉伯聯合酋長國
🇺🇾 烏拉圭
🇻🇪 委內瑞拉
🇻🇳 越南
你想在這裡添加你的國家嗎?
幫助我們增加你的國家。
外掛演示網站
如果您想看到外掛的實際效果,請按照以下步驟操作:
訪問外掛演示網站:https://wcstatesandcities.ml/
從列表中選擇一個樣品產品。
前往結帳,以與可用國家位置進行交互。
可用的過濾器鉤子
WooCommerce 的“州,城市和地點”外掛程序有兩個過濾器鉤子,用於處理全部可用國家的州和地點:
scpwoo_custom_states_xx:它允許您處理给定國家的各州。末尾的xx必須用小寫的兩個字母國家代碼替換。
scpwoo_custom_places_xx:它允許您处理给定國家的位置。末尾的xx必須用小寫的兩個字母國家代碼替換。
請閱讀文章“使用過濾鉤子”了解如何使用的詳情。
可用語言
英語(美國,澳大利亞,加拿大,英國,新西蘭和南非)
西班牙語(阿根廷,智利,哥倫比亞,哥斯達黎加,多明尼加共和國,厄瓜多爾,危地馬拉,洪都拉斯,墨西哥,秘魯,波多黎各,西班牙,烏拉圭和委內瑞拉)
你想看到你的語言在這裡嗎?
幫助我們將外掛翻譯成你的語言。
外掛標籤
開發者團隊
② 後台搜尋「States, Cities, and Places for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
This plugin adds locations of available countries (see list below) to the State and City fields of the WooCommerce address forms, making the fields filterable to enhance the user experience.
Additionally it adds the States to the Shipping Zones (Cities are not compatible with this area).
Supported Countries
🇩🇿 Algeria
🇦🇺 Australia
🇧🇭 Bahrain
🇧🇩 Bangladesh
🇧🇧 Barbados
🇧🇴 Bolivia
🇧🇷 Brazil
🇧🇫 Burkina Faso
🇨🇱 Chile
🇨🇴 Colombia
🇨🇺 Cuba
🇩🇰 Denmark
🇩🇴 Dominican Republic
🇪🇨 Ecuador
🇪🇬 Egypt
🇸🇻 El Salvador
🇬🇭 Ghana
🇬🇹 Guatemala
🇭🇹 Haiti
🇭🇳 Honduras
🇮🇹 Italy
🇰🇿 Kazakhstan
🇰🇼 Kuwait
🇱🇧 Lebanon
🇲🇾 Malaysia
🇲🇺 Mauritius
🇲🇽 Mexico
🇳🇮 Nicaragua
🇳🇪 Niger
🇳🇬 Nigeria
🇴🇲 Oman
🇵🇰 Pakistan
🇵🇦 Panama
🇵🇾 Paraguay
🇵🇪 Peru
🇵🇹 Portugal
🇷🇴 Romania
🇷🇺 Russia
🇸🇦 Saudi Arabia
🇪🇸 Spain
🇱🇰 Sri Lanka
🇹🇳 Tunisia
🇹🇷 Turkey
🇦🇪 United Arab Emirates
🇺🇾 Uruguay
🇻🇪 Venezuela
🇻🇳 Vietnam
Do you want to add your country here?
Help us extending this list adding your country.
Plugin Demo Site
If you want to see the plugin in action, follow the steps below:
Visit the plugin demo site: https://wcstatesandcities.ml/
Select a sample product from the list.
Go to the Checkout to interact with available country locations.
Available filter hooks
States, Cities, and Places for WooCommerce has two filter hooks for handling the States and Places in all the available countries:
scpwoo_custom_states_xx: It allows you to handle the States of a given country. The xx at the end must be replaced by the two-letter country code in lower case.
scpwoo_custom_places_xx: It allows you to handle the Places of a given country. The xx at the end must be replaced by the two-letter country code in lower case.
Please read the article Using the filter hooks to learn How to use.
Available languages
English (US, Australia, Canada, UK, New Zealand, and South Africa)
Spanish (Argentina, Chile, Colombia, Costa Rica, Dominican Republic, Ecuador, Guatemala, Honduras, Mexico, Peru, Puerto Rico, Spain, Uruguay, and Venezuela)
Do you want to see your language here?
Help us translating the plugin to your language.
