Extensions From Niche Pass

Custom Fields

Add your own product data such as weight, warranty or technical specs, organised in field groups per product category and ready for comparisons.

Version 1.0.5 · November 19, 2025

Your own product data, right where you need it

Shop interfaces deliver title, price and image, but rarely the details that make a good comparison: pump pressure, water tank size, warranty or your own test verdict. With Custom Fields you add exactly these fields to your affiliate-toolkit products and fill them in on the product.

The fields are fully integrated into affiliate-toolkit: they appear in data sheets and comparison tables, can be filtered in the frontend search and exported to other post types. If you already use ACF or Meta Box, you do not need this extension, as affiliate-toolkit can work with those too.

The "datasheet" template shows the custom field values of the Kaffeewerk Barista Pro 3 grouped by field group
Custom field values in the data sheet template

Setup, step by step

  1. Activate the Custom Fields extension next to the affiliate-toolkit base plugin.
  2. For fields every product should have, open affiliate-toolkit → Settings → Custom fields and click "Add Field". Enter a caption, a name and choose type and format.
  3. For fields that only make sense for one kind of product, create a field group under affiliate-toolkit → Field groups, add the fields and tick the product category it belongs to.
  4. Open a product and fill in the values in the "Custom Fields" tab. Products in the assigned category show the fields of the field group in addition to the global fields.
  5. Show the values with a template such as datasheet, in a comparison table or with your own Blade template.
Settings → Custom fields: global fields for every product (warranty, weight, test verdict) with caption, name, type and format, and the section for custom taxonomies
Global custom fields in the settings

The name of a field is used as placeholder in templates: global fields with the prefix customfield_ (for example customfield_warranty), fields of field groups with cf_ (for example cf_pressure). Choose short, stable names and do not change them later.

Field groups per product category

Field groups keep your data tidy. A coffee machine needs pump pressure and water tank, headphones need battery life and weight. You create one field group per product category, and each product only shows the fields that matter for it.

The field group "Coffee machine specs" with pump pressure, water tank, milk frother, grinder and power, assigned to the product category "Coffee machines"
A field group assigned to a product category

Every field in a group has a caption, name, type and format, plus dropdown values, a description, a prefix and a suffix (for example "bar" or "l"). Four checkboxes control where it appears: in the data sheet, in the detail list, in the comparison table and in the mobile comparison table. You can also change the order of the fields with "Move up" and "Move down".

  • Types: Text, Multiline, Dropdown, Yes/No and HTML; in field groups also Taxonomy.
  • Formats: Default, Text, Number, URL, Date, Email and Stars.

Fill in values and use them everywhere

On the product the "Custom Fields" tab collects the global fields and the fields of all field groups of its categories. The fields are also available in the product import, so you can fill them in while importing.

The "Custom Fields" tab of a product with the global fields and the fields of its field group filled in
Field values on the product

Besides fields, the settings page lets you create your own taxonomies for products. Renaming a taxonomy later is not supported, and after changes you need to re-save the permalinks.

Detailed guide: User defined fields. Building a table from these fields: Create comparison table for affiliate products.

Features at a glance

  • Global fields for every product
  • Field groups per product category
  • Types: text, multiline, dropdown, yes/no, HTML
  • Formats like number, URL, date or stars
  • Prefix, suffix and display options per field
  • Own taxonomies for products