Linux 软件免费装
Banner图

Hera Japan Postcode Autofill for WooCommerce

开发者 herapress
更新时间 2026年10月4日 11:21
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce address autofill japan postcode

下载

1.0.0

详情介绍:

Hera Japan Postcode Autofill for WooCommerce fills in the prefecture, city and street of a Japanese address as soon as the customer types the 7-digit postcode. It works on the Checkout block, on the classic checkout and on the address form under My account, for billing and shipping addresses alike. This is an independent plugin, not affiliated with, endorsed by, or sponsored by WooCommerce or Automattic. WooCommerce is a trademark of Automattic Inc. When the country of an address is Japan, WooCommerce already asks for the postcode before the prefecture, city and street. A Japanese postcode settles most of what comes after it, so the customer types seven digits and checks the result instead of typing the address out. The plugin works for any store that ships to Japan, whatever language the store itself uses. Features No external connections The postcode data ships inside the plugin, in one small file for each set of first three digits. When a customer types a postcode, the browser loads that one file from your own site. Nothing is sent to Japan Post or to any other service, no remote script is loaded, and the plugin stores nothing. Postcode data The data comes from the postcode files Japan Post publishes for addresses and for large businesses, in the release of 30 September 2026. Japan Post states that it does not claim copyright on this data and that anyone may redistribute it: https://www.post.japanpost.jp/service/search/zipcode/download/utf-readme.html. Plugin updates bring newer data, and the changelog names the release each version carries. Documentation The user guide is at herapress.com/docs.

安装:

  1. Upload the hera-japan-postcode-autofill-for-woocommerce folder to /wp-content/plugins/, or upload the zip via Plugins > Add Plugin > Upload Plugin (older WordPress versions call the menu item Add New Plugin).
  2. Activate the plugin through the "Plugins" screen. WooCommerce must be installed and active.
  3. There is nothing to set up. On the checkout, choose Japan as the country and type a postcode.

屏幕截图:

  • The classic checkout, with the billing address filled in from the postcode.
  • The address form under My account > Addresses, filled in the same way.

升级注意事项:

1.0.0 First release. There is nothing to set up after activating.

常见问题:

Does it work with the Checkout block?

Yes. It works with the Checkout block, with the classic checkout made by the [woocommerce_checkout] shortcode, and with the address form under My account > Addresses.

Does it send my customers' data anywhere?

No. The postcode data is part of the plugin and is loaded from your own site. The plugin makes no external requests and stores nothing.

My store is not in Japan. Can I use it?

Yes. The plugin acts whenever the country of an address is Japan, so any store that ships to Japan can use it. Addresses in other countries are left to WooCommerce as before.

Why is the address filled in in Japanese?

The plugin fills in Japan Post's data, and Japan Post publishes addresses in Japanese.

Why did the city or the street stay empty?

Some postcodes do not settle the whole address. One postcode can be shared by two neighbouring cities, or by several towns in the same city. The plugin then fills in only the part that is certain and leaves the rest for the customer to type.

Why did the prefecture stay empty?

The prefecture is set in WooCommerce's state field, by its WooCommerce code (JP01 to JP47). If the store has changed that field so it no longer lists the Japanese prefectures, the plugin leaves it alone.

A postcode is not recognized. Why?

Japan Post adds and retires postcodes every month. Each plugin version carries the data of one Japan Post release, named in the changelog, so update the plugin to get newer data. An unknown postcode leaves the address fields for the customer to fill in.

What happens when I delete the plugin?

The plugin stores nothing in your database, so there is nothing to remove.

更新日志:

1.0.0