We have a Woocommerce site built that has Terms & Conditions required to place your order. The problem is most people are not used to doing this and they either don't see or intentionally skip this step and click the "Place Order" button. When they do that it gives them an error message and forces them to refill the form. We would love it if the "Place Order" button was either hidden, grayed out, or in some way disabled until the customer agrees to the terms and conditions. I am sure for someone out there is just a few lines of code. Any help is appreciated.


HI jon you can write a js function to check if the terms check box has been checked


add/remove a class on your place order button




hope this has pointed you in the right direction

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.