| 开发者 | gatemi |
|---|---|
| 更新时间 | 2026年9月23日 21:38 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
required attribute is a courtesy to the browser and nothing more —
anybody can post past it. A required box that was not ticked stops the order
on the server, where the order is actually created.
What you get
Immediately above the Place order button, on both checkouts. Agreeing to terms three screens earlier is not agreeing to anything a shopper remembers reading. The classic checkout prints them through WooCommerce's own hook just above the button; the Checkout block draws them in its Order information step through WooCommerce's checkout-fields API, which refuses a required box that was not ticked and writes the tick onto the order — and this plugin then records the wording and the time beside it, exactly as on the classic checkout.
The words do; the link does not. WooCommerce's checkout-fields API shows a field's wording as plain text, so on the block "I agree to the terms" is shown without its link. Keep the link to your terms in the block's own terms text as well, which is what most block-checkout shops already have.
Past orders keep saying what was agreed at the time. The wording is stored with the acceptance rather than looked up when the order is read.
No. The acceptances stay on the orders — they are the record the checkbox existed to create.
That is Gatemi Checkout Fields for WooCommerce, a separate plugin sold on gatemi.com: it renames, reorders, requires and hides the checkout's own fields, and adds fields of your own. The two run alongside each other.