
內容簡介
WC - APG City 外掛為您的 WooCommerce 商店新增自動城市欄位,透過 GeoNames API 或 Google Maps API 根據郵遞區號生成,提升結帳流程的便利性。
【主要功能】
• 完全兼容 WordPress 區塊編輯器中的結帳區塊
• 包含每月更新的本地 GeoNames 資料庫
• 可選擇使用 GeoNames API 或 Google Maps API
• 支援自訂選擇欄位的預設文字
• 可鎖定城市和省份欄位以防修改
• 客戶可手動輸入未在列表中的城市名稱
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
WC – APG City adds to your WooCommerce store a new automatic city field generated from the postcode via the GeoNames API or the Google Maps API.
Features
Fully compatible with the Checkout block in the WordPress block editor.
Includes a local GeoNames database that is downloaded and updated monthly to improve performance and reduce external API queries.
You can choose between the GeoNames API and the Google Maps API.
You must add your own Google Maps API Key or GeoNames username.
Your API credentials are never sent to the browser: every lookup is made by the server.
You can customize the default text of the select field.
You can customize the text of the option used to switch to a text field.
You can block modifications to the city and province (state) fields.
You can customize the background color of the locked fields.
If the postcode is shared by more than one city, the customer can select the correct city name from the list returned by GeoNames or Google Maps.
If the city is not in the list or cannot be found in either API, the customer can manually enter their city name.
It also selects the province (state), as long as the name matches the one obtained from GeoNames or Google Maps.
Contextual help on the settings page, explaining every setting without leaving the screen.
Translations
English: by Art Project Group (default language).
Spanish: by Art Project Group.
More information
You can learn more about WC – APG City on our official website, and follow the development on GitHub.
You can also read the full documentation, with every setting explained one by one.
Thanks
Thanks to everyone who uses the plugin, helps improve it, makes a donation or encourages us with their comments.
If you find this plugin useful, you can support its development with a small donation.
External Services
To the GeoNames services, to download and update, on a monthly basis, the full local database of cities and postcodes, as well as to perform queries to its API when there is no information in the local database.
It sends the country and the postcode.
More information: https://www.geonames.org/export/
To the Google Maps API, to obtain the city and state/province name from the postcode and country when this option is selected in the plugin settings.
It sends the country and the postcode.
More information: https://policies.google.com/privacy
