If you create variable products a lot using WooCommerce, I’m sure there have been times when you wished for a field that did not exist, one that would only be used in a variation.
As with any product you add to your WooCommerce store, sometimes you need to provide some specific information or data to the customer. Something that just doesn’t fit anywhere else.
But you need to make it easy. When someone, whether yourself or a team member, adds product variations, they can easily add the extra information or data as needed for the product.
This is where the WooCommerce Custom Fields for Variations plugin comes in handy.
The WooCommerce Custom Fields for Variations Plugin
With this plugin, you will find a link to Variation Field Groups under your Products menu. This is where you will start.
An Example of Adding the Custom Fields
Think of it. You can have additional information easily added to a variation. It could be a model number, some physical specification or anything else you feel is important for the buyer to know.
The following might be an unusual example, but it will give you a better grasp of what you can do and also show you the full features.
Let’s say you have a site that sells t-shirts. You have four specific pieces of information that a buyer should know because of your unique business. And those need to be on each product item page.
1. How much of the shirt is made from recycled material? All shirts either have 75% or 100% recycled materials, depending on the shirt.
2. Your shirts are custom-made from various individuals who live in a total of 5 different countries.
3. You have at least 50 individuals who make these shirts and you want to let the buyer know who because you have listed them on your site.
4. Each shirt sales contributes 10% of the sale to one of three nonprofits, which the shirt artisan has chosen.
Setting Up the Custom Variation Fields
I will be setting up a variation group. This means that these fields will be under a heading that separates the info out so it makes it easy for the person adding the product information. I will name it and add the fields.
You will add the label and field ID, selecting from the 5 different field types. You can also add a description that will give the person adding the product more information on what the field is for.
There is the option to show it on the front end, show the label or have the label positioned above or to the left.
For the first field, I have used the Radio Buttons for the recycled option. And I let the person who is adding this product know what form the information is on.
For the choice of the five countries and the nonprofits, I will set it up very similar to how I did in the previous field.
For the name of the artist, it would be impossible to have a list of all 50 artisans. So I gave them a spot to type that info in.
The Custom Fields on the Variation
If we go into our variations now, we see this section is available for the person who is adding the product. (Note that if you leave any field blank, it will not show up on the product page).
If we look on the product page, the additional fields will use the WooCommerce admin and theme styling so it fits smoothly in the design.
Lastly, I am pointing out the other field area, the Checkboxes. This is perfect if you want more than one bit of data added to a single line or in a list.
For example, let’s say I have a photography model service. I have several different packages. I offer photos of adult men, adult women, teenage boy, teenage girl and babies of both genders, but the options are not available with each package. I would set it up using checkboxes. And I would have the option to display them as a list, or on the same line, comma separated.
I would find this option in my variation settings.
And now it would be displayed on the product page, in a list as I have selected.
From these examples I am hoping you understand how flexible this plugin is and by using it, how you can make the process of adding extra data or information to a variation of a product easy and helpful to the customer.