1. Home
  2. Docs
  3. Bulk Table Editor
  4. Settings
  5. Custom Fields

Custom Fields

To find the settings, go to: WooCommerce > Settings >  Bulk Table Editor then find Custom Fields (tab)

In this section, we’ll guide you through setting up Custom Fields and adding them to the Attributes & Custom Fields tab.

Custom Field Configuration

Custom Field 1 – 4:

  1. Custom Field Label: Enter the desired label for the column heading, e.g., “Custom Field”.
  2. Select Field: Choose the custom field from your products’ available fields.
  3. Custom Field Type: Select the type (text, number, or date) for sorting purposes.
  4. Use Custom Field: Ensure this is checked to display the field in the Attributes & Custom Fields tab.


Custom Field 5:

  • Similar setup to the above fields, but with the additional option to set the slug manually. This is useful if a custom field does not appear in the dropdown or if you want to create a new one.


Final Steps

After configuring the custom fields, save your changes. Navigate to Bulk Table Editor > Attributes & Custom Fields to view and bulk edit your custom fields.

How to Add Your Own Custom Fields

Developers can use the provided filter to add additional fields. For example, to add a custom field called custom_product_field, add the following snippet:

Usage:
This snippet hooks into bulk_table_editor_custom_fields and appends a new field to the array, making it available in the Bulk Table Editor settings (dropdown option – select field).

You add first the key(unique) then = label (can be the same as the key if you like).

Installation Using the Snippets Plugin

  1. Open Your Snippets Plugin:
    Navigate to your WordPress dashboard and open the Snippets plugin interface.
  2. Add a New Snippet:
    Create a new snippet and paste in the main snippet code provided above.
  3. Save and Activate:
    Save and activate the snippet. The Bulk Table Editor should now include the integration fields when the Min/Max Quantities plugin is active.
  4. (Optional) Add Custom Fields:
    To add additional fields, paste the custom field filter example into a new snippet or include it in the same snippet file.

How can we help?