In a recent Business Bloomer Club Slack thread, a WooCommerce store owner asked how to bypass the validation on the “I have read and agree to the website terms and conditions” checkbox in the checkout process.
Initially, they tried hiding it with CSS, but this led to validation errors since the checkbox wasn’t being acknowledged on submission.
Fortunately, WooCommerce provides a simpler solution without custom CSS or code manipulation.
Disabling the Terms and Conditions Checkbox in WooCommerce Settings
If you’d like to remove the checkbox entirely or bypass its validation, you can do this directly within WooCommerce’s settings:
Navigate to Settings
Go to WooCommerce > Settings in your WordPress dashboard.
Locate the Terms and Conditions Section
In the Advanced tab, look for the Page setup section. Here, you’ll see an option to designate a “Terms and Conditions” page.
Remove the Terms Page Link
To effectively disable the terms and conditions checkbox, deselect or clear the page designated for terms and conditions. Without an assigned page, WooCommerce will skip displaying the checkbox and validation on the checkout page.
Conclusion
This approach avoids custom CSS and validation errors, streamlining the checkout process. By using WooCommerce’s built-in settings to adjust terms and conditions requirements, you can customize your site’s experience with minimal code changes or risk of conflicts.