=== Pinzell Nihon ===
Contributors: rgcglobalnet
Tags: japan, furigana, woocommerce, postcode, yen
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Japanese checkout kit for WooCommerce: furigana, postcode autofill, delivery date and time, 特定商取引法 page generator, yen formatting.

== Description ==

Pinzell Nihon (ピンゼル・ニホン) turns the WooCommerce checkout into a Japanese one, free and without any remote call. A Japanese description is in the plugin settings and in `README.ja.md` of the repository.

* **Furigana name fields** (billing and shipping). One set of fields in both the Checkout block and the classic checkout. Hiragana, katakana or half-width katakana is accepted and stored in the script you choose. Shown in the order screen, the thank-you page, My Account and **in order emails**.
* **Japanese address order** (postcode, prefecture, city, street, building) and **postcode-to-address autofill** from the Japan Post postcode data bundled with the plugin. Full-width digits and dashes are converted to half-width.
* **Delivery date and time slot (配達日時指定)** with open days or calendar days, order cut-off hour, closed weekdays, **national holidays computed from the holiday law** (substitute holidays included) and your own closed dates.
* **特定商取引法 (Specified Commercial Transactions Act) page generator**: a shortcode and a one-click draft page, with the payment methods read from WooCommerce and a list of the required items that are still empty. It is a template, not legal advice.
* **Yen formatting**: sign style, "(税込)" suffix and one tax-rounding method for the store.

= Why another Japanese plugin? =

It was written against the problems that Japanese store owners report about the existing Japanese checkout plugins in their support forums:

* Furigana fields shown twice, or only in one of the two checkouts: one set of fields, tested in the Checkout block and in the classic checkout.
* Furigana missing from order emails: a furigana and delivery block is added to the WooCommerce order emails (HTML and plain text).
* Literal placeholders such as `{last_name} {first_name}` in the checkout: the address format is built with the real tokens and tested.
* Address autofill that needs a remote service: the data is a file inside the plugin.
* A 特定商取引法 page that has to be written by hand: generator included.

Pinzell Nihon does not touch payment gateways (Paidy, convenience-store payments and so on).

= Free vs Pro =

| Feature | Free | Pro |
| --- | --- | --- |
| Furigana, Japanese address, postcode autofill | Yes | Yes |
| Delivery date and time slots, holidays | Yes | Yes |
| 特定商取引法 page generator, yen formatting | Yes | Yes |
| Qualified invoice (適格請求書): T-number, tax per rate (10% / 8%), ※ for reduced-rate items, printable page, email block | – | Yes |
| Yamato B2 Cloud and Sagawa e-飛伝III CSV export from the orders list | – | Yes |

Pinzell Nihon Pro is sold separately at https://rgcglobalnet.com/pinzell-nihon/.

= Data sources =

* Postcodes: Japan Post "郵便番号データ" (KEN_ALL, update of 2026-10-30). Japan Post states that it claims no copyright on the postcode data (https://www.post.japanpost.jp/service/search/zipcode/download/readme.html). The data is bundled as JSON files and is not sent anywhere.
* Holidays: computed from the 国民の祝日に関する法律. For the coming year also check the Cabinet Office list: https://www8.cao.go.jp/chosei/shukujitsu/gaiyou.html

= External services =

The plugin does not connect to any external service. The links to Japan Post, the Cabinet Office and the Consumer Affairs Agency are only opened if someone clicks them.

Pinzell Nihon is independent: it is not made, endorsed or supported by Japan Post, the Cabinet Office, the Consumer Affairs Agency or any carrier. Pinzell is a product line of RGC GLOBAL NET SERVICES SLU (Spain).

= Known limits =

* The checkout fields use the WooCommerce Additional Checkout Fields API (WooCommerce 9.0 or later for the Checkout block). The classic checkout is also supported.
* The Checkout block does not show a "final confirmation" screen; add your returns terms with the page link that WooCommerce offers.
* Furigana order in the Checkout block relies on CSS (`order`, `:has()`), supported by current browsers.

== Installation ==

1. Install and activate WooCommerce and Pinzell Nihon.
2. Go to WooCommerce → Pinzell Nihon. The furigana, address and postcode features are on by default; delivery date and time is off until you turn it on.
3. For the 特定商取引法 page open the 特定商取引法 tab, fill in the form, save, and press "Create a draft page".

== Frequently Asked Questions ==

= Does it work with the Checkout block? =

Yes. It is tested with the Checkout block and with the classic shortcode checkout, with HPOS on and off.

= Are the postcodes up to date? =

They reflect the Japan Post update shown in the plugin (2026-10-30). Japan Post publishes changes monthly; the plugin is updated when the change matters. No data is downloaded by the plugin.

= Is the 特定商取引法 page legal advice? =

No. It is a template based on the guidance of the Consumer Affairs Agency. Have it reviewed before you publish it.

= Which holidays does it know? =

All national holidays from 1980 to 2099, computed from the law (including substitute holidays and the citizens' holiday). Years after 2027 are an estimate until the Cabinet Office publishes the list; add one-off days in "Other closed dates".

= Does it store personal data? =

Only what the customer types: the furigana and the delivery date and time are saved on the order.

== Screenshots ==

1. Block checkout with furigana fields and a postcode that filled prefecture and city.
2. The 特定商取引法 generator.
3. Pro: a qualified invoice with the tax per rate (Pinzell Nihon Pro).
4. Pro: Yamato B2 Cloud export with the checks before download (Pinzell Nihon Pro).

== Changelog ==

= 1.0.0 =
* First release.

== Upgrade Notice ==

= 1.0.0 =
First release.
