In this article, I’ll run you through the steps you need to take to add custom taxonomies and fields to Woocommerce products easily using free plugins.
Most times, Woocommerce users are confused with the terms Custom Fields and Taxonomies, here’s how I explain them:
Custom Fields and Taxonomies help you to add more information to your Woocommerce products as well as organize them better.
A custom field is used to store arbitrary one-off information about your product, if that info only relates to one product, it’s regarded as a unique identifier number or let’s say tag whereas,
If your wish is to group information about multiple products, then you would use a custom taxonomy.
A Taxonomy can be defined as an extra type of tag or category where you would give multiple products the same term in your taxonomy and then you might create filters or something like that to let people view the different products within that taxonomy.
So, we’re going to use 2 free plugins to create our Woocommerce custom fields and taxonomy, the two plugins are:
- Advanced Custom Fields (Custom Field)
- Custom Post Type UI (Custom Taxonomy)
Creating a Custom Field for your Woocommerce Products using Advanced Custom Fields
Once you’ve installed and activated the advanced custom fields plugin, you should see the Custom Fields option appear on the admin menu in your WordPress Dashboard.
Click on the option and then create a new field group by clicking on ‘Add New‘, then enter the information you need for your product.
The Advanced Custom Fields documentation contains every information you need on how to put the plugin to use.
How to Add Custom Taxonomy to your Woocommerce products
You can create a custom taxonomy for your Woocommerce products using the plugin mentioned earlier, which is the Custom Post Type UI.
Once you’ve installed and activated the plugin, you have to go to CPT UI > Add/Edit Taxonomies the options will now enable you to configure custom taxonomy for your Woocommerce products.
If you need help adding custom taxonomy to your Woocommerce products using the Custom Post Type UI, then refer to their documentation.
In Conclusion
I hope this article on how to add custom fields and taxonomies helped you in any possible way. Check out more WordPress tutorials, and don’t forget to leave a comment.