前言介紹
- 這款 WordPress 外掛「GazChap's WooCommerce getAddress.io Postcode Lookup」是 2019-02-23 上架。
- 目前有 400 個安裝啟用數。
- 上一次更新是 2025-01-10,距離現在已有 114 天。
- 外掛最低要求 WordPress 4.8.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 16 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
gazchap |
外掛標籤
ecommerce | woocommerce | address lookup | postcode lookup | uk address lookup |
內容簡介
此外掛可讓顧客透過輸入郵遞區號和從選項中選擇地址完成帳單/收件地址。它使用 getAddress.io (https://getaddress.io) 的 Royal Mail 郵遞區號地址檔進行查詢。
整合需要 API 金鑰才能運作,且僅會出現在用戶選擇英國 (或更具體地說, ISO-3166-2 代碼「GB」) 為他們的國家時。
可選擇在貨運或帳單地址上關閉,並可配置在 getAddress.io API 金鑰達到使用限制時向指定地址發送電子郵件通知。
可使用 getAddress.io 的多個測試郵編進行測試,該網站提供XX2 00X、XX4 04X、XX4 00X、XX4 01X、XX4 29X和XX5 00X等測試區號。API 金鑰需使用 getaddress.io 的 API 金鑰,不同定價方案提供不同服務。
需安裝 WooCommerce,版本至少 3.0。在安裝和啟用插件後,您需要在 WordPress 儀表板的 WooCommerce -> 設定 -> 一般 頁面中進行配置。如果某些也修改結帳欄位的外掛可能會與此外掛發生衝突,您可以使用 Hook 優先級來解決此問題。
對於開發人員,作者提供了一些過濾器,可用於自定義外掛的某些方面。過濾器可以調整一些使用者介面和錯誤訊息的文本。
原文外掛簡介
This plugin enables your customers to complete their billing/shipping addresses by entering their postcode and selecting their address from the options given.
It utilises getAddress.io (https://getaddress.io) to do the lookup using their Royal Mail Postcode Address File.
An API key is required for the integration to work, and the integration only appears when the customer has selected United Kingdom (or, more specifically, the ISO-3166-2 code “GB”) for their country.
It can optionally be turned off for the shipping or billing addresses, and can be enabled or disabled in each of the checkout, customer account and WooCommerce admin screens.
Postcodes that are looked up are saved in a custom database table for 24 hours to help reduce your costs for use of the getAddress.io API.
Requirements
WooCommerce, at least version 3.0.
getAddress.io API Key. A number of pricing plans are available.
Note: Currently, this plugin does NOT support WooCommerce Checkout Blocks introduced as the default checkout experience in WooCommerce version 8.3, it can only be used with the WooCommerce checkout shortcode. I aim to make this plugin compatible with Checkout Blocks as soon as possible.
Usage
Once installed and activated, you need to go to the WooCommerce -> Settings -> General page in the WordPress dashboard. You can enter your API key and set your other options here.
Conflicts with other plugins
Certain plugins that also modify checkout fields can conflict with this plugin and prevent it from working.
Usually, the symptom of this is that the “Find Address” button does not appear.
Since version 2.1, I’ve added a Hook Priority setting at the bottom of the settings for the plugin that you can use to try and fix these conflicts.
The default priority is 10, but using a higher number makes my plugin modify the checkout later in the process – you will probably need to experiment to find the priority that makes my plugin’s changes happen after the conflicting plugin.
For example, a priority of 1001 seems to fix conflicts with the “Checkout Field Editor” plugin by ThemeHigh.
Filter Reference
For developers, I’ve included a few filters that you can use to customise certain aspects of the plugin. These are:
User Interface
All of these filters take one argument, $text.
gazchaps-woocommerce-getaddress-io_find-address-button-text - the text shown on the Find Address buttons (default: Find Address)
gazchaps-woocommerce-getaddress-io_find-address-searching-text - the text shown when the Find Address button is selected (default: Searching...)
gazchaps-woocommerce-getaddress-io_enter-address-manually-text - the text shown for the "Enter an address manually" link (default: Enter an address manually)
Note: Although these two texts are translatable, filters will override any translations.
Error Messages
All of these filters take one argument, $message, the error message that will be displayed to the user.
gazchaps-woocommerce-getaddress-io_api_error_400 - shown when the postcode supplied is invalid/empty
gazchaps-woocommerce-getaddress-io_api_error_401 - shown when the API key provided in the settings is invalid
gazchaps-woocommerce-getaddress-io_api_error_404 - shown when no addresses were found for the supplied postcode
gazchaps-woocommerce-getaddress-io_api_error_429 - shown when the API key has hit its usage limit
gazchaps-woocommerce-getaddress-io_api_error_500 - shown when there is a server error at getAddress.io
Note: By default, the error messages are “customer friendly”, i.e. they don’t go into much detail about the cause of the error!
Styling
gazchaps-woocommerce-getaddress-io_billing_selector_row_class - changes the CSS class on the form-row that the billing address selector is placed into
gazchaps-woocommerce-getaddress-io_shipping_selector_row_class - changes the CSS class on the form-row that the shipping address selector is placed into
gazchaps-woocommerce-getaddress-io_clear_additional_fields - defaults to true, set to '__return_false' to stop the "additional fields" area of the checkout having a clear style applied to it
License
Licensed under the [GNU General Public License v2.0](http://www.gnu.org/licenses/gpl-2.0.html)
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「GazChap's WooCommerce getAddress.io Postcode Lookup」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
2.3 | 3.0 | 3.1 | 3.2 | 3.2.1 | 3.2.2 | 3.2.3 | trunk |
延伸相關外掛(你可能也想知道)
WooCommerce 》p>WooCommerce是全球最受歡迎的開源電子商務解決方案之一,擁有世界上最多的市場份額。, 我們的核心平臺是免費的、靈活的,並擁有全球社區的支持。開源的自由...。
Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation 》🤩使用這個外掛可以製作彈出視窗和訂閱表單,增加電子郵件訂閱者、銷售和業績–最受歡迎的彈出視窗建構器!🚀, 最佳的 WordPress 彈出視窗建構器和電子報彈窗...。
WooCommerce PayPal Payments 》PayPal 最新、功能最完備的付款處理解決方案。除了接受 PayPal 獨有的付款方式,也可接受信用卡/借記卡和本地付款方式。開啟 PayPal 付款選項或處理完整的付...。
Mailchimp for WooCommerce 》加入 Mailchimp 的 1,700 萬客戶,這是全球最大的行銷自動化平台,以發展您的電子商務行銷策略。藉由官方 Mailchimp for WooCommerce 整合,您的客戶及其購買...。
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress 》理 their accounts., , Content Restriction, Restrict content based on membership level, user role, or custom capabilities. With ProfilePress members...。
WooCommerce PayPal Checkout Payment Gateway 》⚠️ PayPal 結帳功能將於 2022 年 3 月 1 日停止支援,外掛的更新已在 2021 年 9 月 1 日停止。我們建議轉換至 PayPal Payments。, 這是一個用於 WooCommerce ...。
WooCommerce Multilingual & Multicurrency with WPML 》這個外掛包含您需要開始跨國銷售所需的一切。輕鬆地設定和管理多種貨幣下的產品,不論您的商店大小和負責團隊的規模。或者,您可以升級購買 WPML,將您的整個...。
Mercado Pago payments for WooCommerce 》官方的 Mercado Pago 外掛可讓您為您的網路商店處理付款,讓使用者以他們喜歡的付款方式完成購買。, 安裝不需要技術知識,您可以從我們的開發者網站上按照整...。
WooCommerce Admin 》WooCommerce Admin 已不再被支援, WooCommerce Admin 已經成為 WooCommerce 的一部分!為了確保您的商店繼續順利運行,請確認 WooCommerce 已更新至最新版本...。
TI WooCommerce Wishlist 》增加銷售和轉換率, 您是否正在尋找提高您的 WooCommerce 網站銷售量的方法?不用再找了,使用 WooCommerce 愿望清單!我們強大的工具旨在提高轉換率和增加網...。
Mollie Payments for WooCommerce 》, 透過 Mollie 的強大外掛,您可以在 WooCommerce 中快速整合所有主要的付款方式,不論您在何處需要它們。只需將它們直接丟入您的 WooCommerce 網店中,Molli...。
Matomo Analytics – Ethical Stats. Powerful Insights. 》已經使用 Matomo On-Premise 或 Matomo Cloud 的使用者?您需要使用 WP-Matomo 外掛而非此外掛。, 對於所有想要以更輕鬆的方式獲取顧客洞察資訊以發展自己的...。
Download Manager 》WordPress Download Manager 是一款檔案/文件管理外掛程式,可讓您管理、追蹤和控制從您的 WordPress 網站下載的檔案。您可使用密碼、使用者角色來控制檔案的...。
Download Monitor 》Download Monitor 是一個提供上傳及管理可下載檔案的介面外掛(支援多版本),可以插入下載連結到文章中並記錄下載次數。, 特點, , 在熟悉的 WP 介面中新增、...。
WC Custom Thank You 》這個免費的 WooCommerce 外掛允許你為你的顧客定義一個特定且自訂的感謝頁面。, 購買後,你的顧客會被重定向到自訂的感謝頁面,而不是預設的 WooCommerce 感...。