Linux 软件免费装
Banner图

Harbor Checkout Fields for WooCommerce

开发者 harborplugins
更新时间 2026年7月13日 02:41
PHP版本: 8.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce checkout custom fields block checkout additional checkout fields

下载

1.0.0

详情介绍:

Harbor Checkout Fields for WooCommerce lets you add custom fields to WooCommerce's block-based checkout without writing code. Fields are collected at checkout, saved to order metadata using WooCommerce's HPOS-safe order API, and automatically appear in the admin order detail screen and in customer confirmation emails. Real-world use cases Free Features How it works Fields are registered with WooCommerce's official block checkout additional-fields API (available in WooCommerce 8.9 and later). Values are stored on the order with the HPOS-safe order API and read back with $order->get_meta(), so no direct database queries are made against order tables. Requirements

安装:

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins screen in WordPress
  3. Go to WooCommerce > Checkout Fields to add your first field (or click Settings in the plugin list)
  4. Ensure you are using the WooCommerce block checkout (not the legacy shortcode checkout)

屏幕截图:

  • Add Field form with type and location options
  • Custom field displayed in the block checkout
  • Field value shown in the admin order view
  • Field value shown in the order confirmation email

升级注意事项:

1.0.0 Initial release.

常见问题:

Does this work with the classic/legacy WooCommerce checkout?

No. This plugin targets the WooCommerce block checkout exclusively. For the legacy shortcode checkout, use WooCommerce's Checkout Field Editor or a similar plugin.

Is this plugin compatible with HPOS?

Yes. Field values are saved automatically by WooCommerce when a registered field is submitted. The plugin reads them via $order->get_meta(). No direct database queries against order tables are made.

What WooCommerce version is required?

WooCommerce 8.9 or later. The woocommerce_register_additional_checkout_field() function was introduced in WooCommerce 8.9.

What PHP version is required?

PHP 8.2 or later. PHP 8.0 and 8.1 reached end-of-life and are no longer supported.

Where do field values appear?

Field values appear in:

  1. The WooCommerce admin order detail screen (after the billing address)
  2. Customer and admin order confirmation emails

What does the Location setting do?

Location controls where the field appears in the block checkout:

  • Contact - below the email and phone fields
  • Address - inside the billing/shipping address block
  • Order - below the order notes section

Can I reorder fields?

Yes. Drag the handle icon on the left of each field row in WooCommerce > Checkout Fields to change the display order.

How many fields can I add?

There is no hard limit enforced by this plugin. WooCommerce's own additional fields API handles rendering. Keeping the number of fields small helps keep checkout simple for customers.

Will it slow down my store?

No. Fields are registered server-side using WooCommerce's official API. No JavaScript is injected into the checkout frontend. The admin settings use lightweight AJAX.

What happens to field data if I deactivate the plugin?

Field values are stored as order meta on each order and will remain in your database. If you reactivate the plugin, historical field values will be visible again. Deleting a field from the settings page removes it from future checkouts and from the order and email displays; the stored values are not deleted and remain in the database.

Does it work with Stripe, PayPal, and other payment gateways?

Yes. Fields are rendered and validated by the WooCommerce block checkout before payment is processed. They are compatible with all major payment gateways.

Is this compatible with popular page builders and themes?

Yes. Because this plugin uses WooCommerce's official block checkout extensibility API, it works with any theme that uses the standard WooCommerce block checkout.

更新日志:

1.0.0