Advanced Custom Fields Pro is a plugin that allows you to do a number of things. However, in this tutorial, we’re going to walk you through how to add custom tabs to WooCommerce products.
Please note that this tutorial is a bit of a developer tutorial. You will be adding some code to your theme’s functions.php file and adding another php file to your theme. You also need to make sure that you have the Advanced Custom Fields Pro plugin installed and activated on your site.
The first thing you need to do is create a new file in your theme’s folder. We’ll call it acf-fields.php. We’ll add the following code to the file.
This code is what creates the ACF repeater fields and thus creates the tabs on your WooCommerce product.
Next, you’ll need to add this code to your theme’s functions.php file. This will set up the tabs in your theme.
With both files being uploaded to your site, you will now have ACF custom tabs on your WooCommerce products.