
外掛標籤
開發者團隊
原文外掛簡介
PSBDx Custom Product Fields adds dynamic custom fields to WooCommerce product pages and seamlessly carries the submitted values through the cart, checkout, and order screens.
Core capabilities:
* Add multiple field types: text, number, email, mobile, dropdown, radio, and checkbox.
* Mark fields as required and define custom error messages per field.
* Increase product price dynamically using the Price Per Unit setting on Number fields.
* Allow decimal (point) values in Number fields with the Allow Decimals setting.
* Edit captured field values directly from the Admin order screen.
* Conflict-safe runtime guard: pauses plugin execution and shows admin notices when conflicts are detected.
* Full WordPress Multisite compatibility with network activation support.
* Includes extensive developer hooks for custom integrations.
For complete details, advanced setups, and guides, please visit our official documentation: https://dev.psbdx.xyz/documentations/psbdx-custom-product-fields/
Compatibility Warning
If a custom plugin or theme fully replaces the standard WooCommerce product, cart, checkout, or order creation flow (instead of using standard WooCommerce hooks), this plugin may not be able to capture field data or apply price adjustments.
Possible impacts of custom overrides:
* Custom field values may not be saved into cart/order item meta.
* Pricing field adjustments may not be added to line item totals.
Solution Hooks (For Custom Checkout/Flow Integrations)
If your checkout flow is highly customized, you can use these developer hooks to pass data through your own pipeline.
Plugin filters/actions:
psbdx_cpf_product_fields – Filter field definitions before display/validation.
psbdx_cpf_required_message – Customize required field message output.
psbdx_cpf_cart_item_data – Inject/adjust cart item data before WooCommerce stores it.
psbdx_cpf_adjusted_cart_price – Control the final adjusted price for cart items.
psbdx_cpf_after_validation – Run custom logic after field validation.
psbdx_cpf_loaded – Fire integration bootstrapping after plugin init.
WooCommerce hook points commonly used for compatibility:
woocommerce_add_cart_item_data
woocommerce_get_item_data
woocommerce_before_calculate_totals
woocommerce_checkout_create_order_line_item
For advanced implementation examples, please check the documentation:
https://dev.psbdx.xyz/documentations/psbdx-custom-product-fields/
