Product fields allow you to use other products as extra fields in your WooCommerce product.
Note that product fields are only available when you purchase the Pro version of the plugin.
To add a product field, just choose ‘Products’ from the ‘Field Type’ dropdown list.
See this article for an overview of the standard parameters available to product fields.
Product field parameters
Product fields have some parameters that are not shared by all fields:
Choose how your child products will be displayed on the front end:
- Checkboxes let you add one or more child products as an addon field. The customer can select multiple child products within the field that will get added to the cart.
- Radio buttons allow you to add one or more child products as an addon field, just like the checkboxes layout, though in the case of radio buttons the customer can only select one child product from the field.
- Select lets you add your child products as a dropdown field.
- Column displays your child products in a single column layout. Note that the ‘Column’ setting also allows you to use variable products as child products.
Choose how to manage the quantities of child products:
- Independent: when you specify a product addon field’s quantity as independent, the customer will be able to purchase as many of the child product as they wish, regardless of how many of the parent product they’ve chosen
- Linked: when you specify the quantity as linked, the quantity of the child product added to the cart will always be the same as the quantity of the parent product
- One-only: when you specify the quantity as one-only, then only one child product can be added to the cart, regardless of how many of the parent product has been added
Choose how many columns to display the image swatches in on the front end.
Select this option to hide the text labels and only display the images.
If you are specifying a minimum or maximum number of checkboxes, you might need to ensure that ‘Required field’ is checked in order to ensure that users select the required number of checkboxes.
‘How to’ guides
There are several ‘how to’ guides with different ideas for using the Products field, including: