[WordPress] 外掛分享: Real Simple Autocomplete for WooCommerce

首頁外掛目錄 › Real Simple Autocomplete for WooCommerce
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.7+ PHP 7.4+ v2.0.7 上架:2026-07-15

內容簡介

Real Simple Autocomplete for WooCommerce 是一款專為 WooCommerce 設計的外掛,能夠利用 Google Places 自動填寫結帳過程中的地址欄位,提升顧客的購物體驗,並減少因地址變更而造成的重新計算問題。

【主要功能】
• 自動填寫街道、城市、州、省、郵遞區號和國家
• 具備請求保護功能,避免重複計算
• 支援經典結帳與結帳區塊
• 可選擇使用 Google Places 或 OpenStreetMap
• 提供可訪問的鍵盤導航建議面板
• 缺失門牌號碼通知與管理員診斷功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Real Simple Autocomplete for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Real Simple Autocomplete fills WooCommerce checkout street, city, state, postcode, and country fields using Google Places.
Refresh-safe checkout updates
A defining feature of RSAC is its checkout request guard. WooCommerce normally recalculates totals whenever address fields change. Autocomplete fills several dependent fields in quick succession, which can otherwise start overlapping recalculations using incomplete address data.
While the shopper types and selects an autocomplete result, RSAC temporarily suppresses same-origin WooCommerce checkout requests while continuing to allow Google Places and OSM traffic. After the complete address has been applied, RSAC releases the guard and allows one coherent checkout recalculation.
This helps prevent:

Recalculations using partially populated addresses.
Competing country, state, postcode, shipping, and tax updates.
Checkout totals being calculated from stale field values.
Classic checkout loading overlays becoming stuck after an intentionally blocked refresh.
Excessive Store API batch requests in Checkout Blocks while autocomplete is active.

The request guard supports both classic checkout and Checkout Blocks and remains replaceable through window.rsacCheckoutRequestGuard for advanced integrations.
Additional features

Legacy Google Places Autocomplete or opt-in Places API (New).
Accessible, keyboard-navigable suggestions panel for Places API (New).
International address-component handling and manually entered house-number preservation.
Matches Google region codes and names directly to WooCommerce states, with an optional cached OSM fallback for unresolved regions.
Missing house-number notification and administrator-scoped diagnostics.

External services
This plugin does not send analytics or tracking data to the plugin author. It uses the following external services to provide address autocomplete and optional state or province matching. Depending on applicable law, site owners may need to describe these services in their privacy notice or obtain appropriate consent.
Google Maps Platform and Places API
Google Maps Platform is required for the plugin’s address autocomplete functionality.
When an enabled checkout page loads, the shopper’s browser requests the Google Maps JavaScript API. This request includes the site owner’s Google API key, the configured language and region, and standard connection information such as the shopper’s IP address and browser request data. As the shopper types in an enabled address field, the entered address text is sent to Google Places to obtain suggestions. Selecting a suggestion sends its Place identifier to Google to retrieve address components such as street, city, state, postcode, and country.
Google provides this service under its own policies:

Google Maps Platform Terms of Service: https://cloud.google.com/maps-platform/terms/
Google Privacy Policy: https://policies.google.com/privacy

OpenStreetMap Nominatim
OpenStreetMap Nominatim is optional. When enabled, it is used only if Google’s state or province code and name cannot be matched directly to a WooCommerce state option.
In that fallback case, the latitude and longitude of the selected Google Place are sent to the public Nominatim reverse-geocoding service to obtain an ISO state or province code. With direct requests, the shopper’s browser also sends standard connection information such as its IP address and browser request data. With the optional WordPress proxy cache enabled, the request is sent by the website server and also includes the site locale and a User-Agent containing the site URL. The plugin then caches only the country-and-region state-code mapping for 24 hours; it does not cache the shopper’s complete address or Google Places responses.
OpenStreetMap Foundation provides this service under its own policies:

Nominatim Usage Policy: https://operations.osmfoundation.org/policies/nominatim/
OpenStreetMap Foundation Terms of Use: https://osmfoundation.org/wiki/Terms_of_Use
OpenStreetMap Foundation Privacy Policy: https://osmfoundation.org/wiki/Privacy_Policy

延伸相關外掛

文章
Filter
Mastodon