At this point, by default, WooCommerce only allows you to add a Terms & Conditions checkbox on the checkout page.
And yes, I’m aware that they’ll implement some GDPR features in the 3.4 version, but it will still be a little different from what I’m about to show you.
To do that, first, you’ll need to know how to access and edit your WordPress files.
functions.php file is usually found in
/public_html/wp-content/themes/YOURTHEMENAME-child/functions.php. This is for your primary domain.
If you want to edit the file of an add-on domain that’s found on the same hosting account, you’ll most likely have to go here:
This might differ from web host to web host.
Once you’ve opened the
functions.php file for editing, add the below code at the very bottom, or right before
?> (if there’s any).
Save the file and that’s it!
You can change the label text and error message with whatever you see fit.
That’s a wrap
Hope you found the post useful and comprehensive!
If you have any questions or thoughts, drop a comment, contact us or message us on Facebook.
You can also purchase a ready-made WordPress website with hosting and support included!