
內容簡介
OCW Checkout Logic for WooCommerce 讓使用者能夠針對每個產品控制 WooCommerce 結帳欄位的必要性,包括必填、選填或隱藏。當購物車內有多個產品時,將自動適用最嚴格的規則。
【主要功能】
• 每個產品的結帳欄位設定:必填、選填、隱藏或預設
• 支援帳單、運送及訂單備註欄位(共 21 個標準欄位)
• 多產品購物車:最嚴格的規則優先
• 快速操作:一鍵設定所有欄位
• 兼容 HPOS(高效能訂單儲存)
• 兼容購物車及結帳區塊
外掛標籤
開發者團隊
② 後台搜尋「OCW Checkout Logic for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
OCW Checkout Logic for WooCommerce lets you control per product whether each WooCommerce checkout field is required, optional or hidden. When the cart contains multiple products, the strictest rule wins automatically.
⚠ Independent third-party add-on. This plugin is developed and maintained entirely by Adviespraktijk OCW. It is not affiliated with or endorsed by Automattic, Inc. “WooCommerce” is a trademark of Automattic, Inc., used here purely to describe what this add-on integrates with.
⚠ Requires WooCommerce. The plugin filters WooCommerce checkout fields. Without WooCommerce active, the plugin has nothing to operate on — WordPress refuses to activate it via the Requires Plugins: woocommerce header.
Free features
Set each WooCommerce checkout field per product to: Required, Optional, Hidden or Default
Works for billing, shipping and order-notes fields (21 standard Woo fields covered)
Multi-product cart: strictest rule wins (Required > Optional > Hidden > Default)
Quick actions: set all fields with a single click
HPOS (High-Performance Order Storage) compatible
Cart & Checkout Blocks compatible
Tutorial submenu with progress detection — auto-opens on activation
Clean OCW house-style admin UI (teal / navy / pink)
PRO features
Custom fields per product — add text, email, phone, textarea, dropdown or checkbox fields beyond Woo’s standard set. Saved as order item meta, automatically visible in admin order screen + customer emails.
Conditional logic — “show field X when field Y equals value Z”. Lightweight JS rule engine on the checkout, no flicker.
Per-category settings — configure checkout rules for an entire product category. Per-product overrides still win, category fills the gaps.
Field validation patterns — built-in presets (Dutch postcode, KVK 8-digit, EU VAT, IBAN, Dutch phone) or your own regex. Runs server-side on woocommerce_checkout_process.
Configuration templates — save the full checkout-fields configuration of a product as a named template (standard field statuses, custom fields, conditional logic, validation rules) and apply it to any other product in one click. Manage all templates from a dedicated submenu.
Automatic updates via the OCW License Server.
Priority support from Onne at OCW.
PRO is sold separately at onlinecursuswebsites.nl/product/ocw-checkout-logic-pro.
Typical use cases
Digital products — hide all shipping fields, keep only email and name
B2B products — make company name required, add a VAT-number field (PRO)
Gift cards — hide address fields, make order notes required
Event tickets — hide shipping, require phone, validate it (PRO)
Requirements
WordPress 6.0 or higher
WooCommerce 6.0 or higher
PHP 8.0 or higher
