Extra Product Data for WooCommerce

外掛說明

Extra Product Data for WooCommerce

Extra Product Data for WooCommerce is a WooCommerce plugin developed to gather additional user information for products. Once installed, this plugin adds custom input fields to WooCommerce product pages, allowing users to enter extra information during the checkout process. These additional data fields are then displayed in the cart, the order summary, and within the backend for easy access.

The plugin was developed by @triopsi using the latest stable PHP version (8.2) and has been tested with the latest WordPress release. Extra Product Data for WooCommerce is free and can be easily extended to fit specific needs with just a few clicks.

Features

  • Adds custom input fields on WooCommerce product pages.
  • Supports various input types (text, textarea, select, etc.).
  • Works with both Simple Products and Variable Products.
  • Captures and stores additional user data for each product.
  • Displays the data in the cart, checkout, and order summary.
  • Allows admins to view the additional data provided by customers.
  • Ideal for products that require user-specific information.
  • Easy to extend and customize for specific requirements.
  • Added option to make fields conditional based on other field values.
  • The admin can still edit the fields in the order overview.

Supported Fields

The following field types are currently implemented:

  • Text
  • Textarea
  • Number
  • Email
  • Yes/No Field
  • Date
  • Select/options
  • Radio Boxes
  • Checboxes

Development

This plugin uses Composer autoloading for its PHP classes.

  1. Run composer install in the plugin directory.

螢幕擷圖

  • WooCommerce > Product Editor
  • Rearrange fields (change field’s display order)
  • Set field to require
  • Remove field
  • View Product on Frontend
  • Validate the require field
  • Display summary on cart
  • Display summary on order summary
  • Display summary on order details page
  • Display summary on order details page (backend)
  • Display summary on order details page (frontend)
  • Display summary on thank your email
  • Display summary on order email
  • Set Conditional Logic

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/extra-product-data-for-woocommerce directory, or install the plugin directly through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to any WooCommerce product page to see the additional input fields.

常見問題集

Can the fields be customized?

Yes, the plugin is designed to be extended, allowing developers to modify the fields as needed.

Is the plugin compatible with the latest WordPress version?

Yes, the plugin has been tested with the latest WordPress release and PHP 8.2.

使用者評論

2025 年 4 月 5 日
This is one of those plugins that makes persisting with Wordpress worthwhile. It does exactly what it says – simply! Really well thought out and great flexibility. Has enough data types to capture any extra information you could want. It can create whole new classes of customer interaction products.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Extra Product Data for WooCommerce〉的開發相關工作。

參與者

〈Extra Product Data for WooCommerce〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Extra Product Data for WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0 ((2024-11-20))

  • Initial release.

1.1.1 (2024-11-20)

  • Initial release with fixes

1.1.2 (2024-11-20)

  • Initial release with fixes

1.1.3 (2024-11-27)

  • Update for the WordPress Library

1.2.0 (2024-11-27)

  • Add Edit Button in the order overview.

1.3.0 (2024-11-30)

  • Add more field types checkboxes, radio and selects
  • Edit option for admins in order overview

1.4.0 (2024-12-04)

  • Radio and checkboxes don’t have input-text CSS classes
  • Select overflow
  • Add autocomplete function
  • Add Conditional Logic for fields
  • Add Conditional rules in backend

1.4.1 (2024-12-06)

  • export link are always broke

1.5.0 (2024-12-09)

  • plugin can enable for another woocommerce products

1.5.1 (2024-12-09)

  • edit button dont visible on order overview

1.6.0 (2024-12-09)

  • add setting page and add options for “Show on Cart” and “Show on Checkout”

1.7.0 (2024-12-12)

  • add editable section for user in the order overview
  • compatibility with WooCommerce HPOS

1.7.1 (2024-12-26)

  • Restructuring of the entire code
  • Fields can now influence the base price
  • Many minor bug fixes
  • Support Variable Products ans Simple Products

1.7.2 (2024-12-26)

  • JS are reade for plugin

1.7.3 (11.01.2025)

  • Bug fix: Admin and users who placed the order can manipulate the total price after editing the order.

1.7.4 (13.01.2025)

  • Bug fix: fix version in files

1.7.5 (13.01.2025)

  • Bug fix: fix with normally artefacts

1.7.6 (13.01.2025)

  • Bug fix: maintenance versions

1.7.7 (13.01.2025)

  • Bug fix: input fields have same css style

1.7.8 (13.01.2025)

  • Bug fix: css fix on user edit page
  • Bug fix: admin can edit the custom fields

1.7.9 (13.01.2025)

  • Bug fix: css fix on user edit page

1.7.10 (18.01.2025)

  • Bug fix: calculate with empty fields

1.7.11 (05.02.2025)

  • Bug fix: the product can only be purchased once

1.8.0 (13.02.2026)

  • Bugfix: Radio buttons/checkboxes could not be created
  • Feat: Colors and usability slightly adjusted according to WooCommerce
  • Chore: Refactor the code, clean it up, and move it to GitHub.
  • Documentation: Updated Readme and Changelog for 1.8.0
  • Chore: New logo and banner for the WordPress plugin page

1.8.1 (13.02.2026)

  • Chore: Change Readme

1.8.2 (13.02.2026)

  • Fix: Required input name with full stops

2.0.0 (25.02.2026)

  • various bug fixes in calculation, display, and when adding fields
  • fixed default selection issues for select, checkbox, and radio
  • added E2E tests with Playwright
  • added WP ENV for development
  • achieved >90% path coverage in PHPUnit
  • fix for checking whether WooCommerce has already loaded
  • stricter checks for usage of actions and filters

2.0.1 (25.02.2026)

  • Fix and Bump Version to wg.org

2.0.2 (04.03.2026)

  • Fix: Radio default on admin product page now also listens to input event