Table of Content

HomeBlogPlugin UsageHow to add Custom Fields / Met...

How to add Custom Fields / Meta Fields to Woocommerce bulk product editing plugin?

Custom Fields / Metal Fields are the best way to add extra information about your Woocommerce products, as in most online stores, the default fields in the Woocommerce Product Page are not enough for describing the properties of the product.

So, the store managers have to add some custom fields to add the details. For example, in a mobile store, you may need to give your customers some extra information about the Material body, thickness, Brand, etc.

As you can see in the below picture, you can add some custom fields to add these information to the product page:

woocommerce bulk product editing supports all product custom fields

Obviously, you expect to be able to Bulk edit these information or filter your product according to them by using Woocommerce Bulk Product Editing Plugin.

At the end of this tutorial, you will find out that bulk editing the custom fields / Meta fields has never been easier. So, stay with us.

Step 1- Adding custom fields / meta fields

To add custom fields, you have to go to the “Meta Fields” tabs in the Woocommerce bulk product editing plugin.

As you can see in the below picture, In this tab, you have 3 options for adding your custom fields to the plugin:

Adding Custom fields / Meta fields in Woocommerce bulk product editing plugin

1- Manually

To add manually, you have to type the name of Meta field exactly the same as the name you had assigned to that custom field in the Woocommerce product page.

For example, the first custom field in our product page was “Material Body”, so, if we want to add this Meta Field, we can easily type “Material Body” in the text box and click on “+”:

add custom fields manually in Woocommerce bulk product editing plugin

Then this meta field will be added to the next box which means this custom field has been added to the plugin and you can edit it as below:

change custom fields details manually

Enter Field Title

If you want to see this field in the plugin with a different title, it is easily possible to assign any title to it.

For example, we typed “Material” as the title of this custom Field:

set custom label for custom fields to display in table

Select the Type

As these meta fields are the options that you have access to for Bulk Editing or Filtering, later, this is important to choose their types. In fact, you have to choose the best option which can display the values you have assigned to that meta field in the Woocommerce and let you edit them in the plugin accordingly.

In the “Select Type” combo box, there are so many items to be assigned to your custom Field values including:

  • Text Input 
  • Text Area
  • Checkbox
  • Radio
  • Array
  • Calendar
  • Email
  • Password
  • URL
  • Image
  • File
  • Editor
  • Select
set field type for custom fields in woocmmerce bulk product editing

Some of these items can be displayed in different conditions, for example, you can choose “Text Input” to be displayed either as a “String” field or “Number” field:

add new custom field as input text

It may be confusing at the beginning; however by making some examples in the next step, you will learn how to choose the best option for your custom field.

 Before going to the next step and see how these options can help you to better manage and control your product values, let’s get familiar with the other ways that you can add “Custom Fields” or “Meta Fields” to this plugin.

If you add more than one Custom field, you can easily “Change their Order” or “Delete” them by using the related Icon in each field.

Change order

For example, in the below picture we drag the “Thickness” field and tried to drop it above the “Material” field:

change fields order in woocommerce bulk product editing

2- Automatically from product

In this part, you can enter a product ID and let the plugin display the meta field related to that product.

Then you can add those custom fields to the Plugin by clicking on “Save Fields”.

You are able to edit “Title”, “Type” or “delete” and “Changing the order” of the custom fields in the opposite box as we described before:

3- ACF Plugin Field

If you have already installed the ACF Plugin to your website and assigned some custom fields to your products by using this plugin, it is also possible to add them to the Woocommerce Bulk Product Editing Plugin.

As shown below, you can ask plugin to show the custom fields of ACF Plugin by “ACF Title” or “ACF Product Type”: 

compatible with ACF plugin in woocommerce bulk product editing

By clicking on “+”, the related custom fields will be displayed in the opposite box:

acf custom fields are available on "meta field" section

And you are able to edit titles, change the Order or delete them as you prefer. Then by clicking on “Save Fields”, you have access to those meta fields in the plugin as we will describe in the next step.

Step 2 -Using custom fields in the plugin

To clear the effectiveness of these options, we are going to add some other custom fields to our plugin and assigned these options to them:

add unlimited custom fields in woocommerce bulk product editor

To use custom fields in the plugin, you have access to them in the “Bulk Edit”, “Filter Form” and “Column Manager” pages after clicking on “Save Fields”.

1- Bulk edit page

By clicking on “Bulk Edit” tab, you can see the “Custom Fields” tab as shown below:

search by custom fields in woocmmerce bulk editor

As we expected, all the custom fields we added in the “Meta Fields” form, are displaying here. Now, let’s check how those Options are helping us to Bulk Edit these custom fields:

TextInput – String

As we assigned TextInput as a String option to the “Material”, we have now access to the condition box including:

  • Append
  • Prepend
  • New
  • Delete
  • Replace

To bulk edit the values related to this custom field for our products.

change custom fields value in Bulk Edit form

TextInput – Number

For the “Thickness”, as we assigned “TextInput” as a “Number” to it, we have access to the items in the condition box which are related to editing this meta field as a number including:

  • Set New
  • Clear Value
  • Formula
  • Increase by value
  • Decrease by value
  • Increase by %
  • Decrease by %
change custom fields value according to their types

As you can see in the below picture, you can bulk edit some other custom field values the same as “TextInput”, including:

TextArray:

powerful bulk edit form in woocommerce bulk product

Email:

add email type field in woocommerce bulk editor

Password:

custom fields for password fields in woocommerce bulk edit

Website:

website fields as custom fields

So, there is no need to explain them again. You can just choose the right option and enjoy editing the values related to them in an easy and effective way.

Checkbox

As we chose “CheckBox” as the custom field type for “Guaranty”, we can choose one of the values from the drop down list to bulk edit our products accordingly.

check box fields

Calendar

If you assign “Calendar” type to your custom field values as we selected for “Delivery Date”, you can edit them as a date:

calendar fields in woocommerce bulk product

2- Column Manager and Column Profile

In the column manager tab, you can choose the custom fields added to the plugin to see them as the columns of your product table.

For example, by adding “Material” and “Guaranty” as the custom fields:

add new custom fields and display as new columns

We can add them as the product table columns as you can see in the below picture:

custom fields in column manager
use custom fields as new column in woocommerce bulk product editing

All of the added custom fields are available in column profile too, this means you can enable/disable each one of them.

3- Filter Form

You have also access to the “Custom Fields” in the “Filter Form” to filter those products you need for bulk editing.

For example, let’s filter some of our products according to the “ACF Title” as we added them to this plugin as our meta fields in Step 1 – section 3.

As shown below, we opened the “Filter Form” in the main page of the plugin then clicked on “Custom Fields” to see the ACF fields there:

use custom fields in search form

As “Select” options had been assigned to the “ACF Title” field:

advance custom field in woocommerce bulk product editing

We are now able to select one the below option as the condition to filter our prefered value:

  • Like
  • Exact
  • Not
  • Begin
  • End

For example, If we choose “Begin” and type “Shirt” in the text box, all products that their ACF Title begin with “Shirt” will be filtered and we can Bulk Edit any features of them in the Plugin.

Like this tutorial?

Do you still have a problem?

If you still have unanswered questions or need custom work for your plugin, contact iThemeland Support.

Comments

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments