Add “I agree with the terms and conditions” checkbox to your cart page. It should be mandatory for the customers to select before continuing to checkout. If the customer does not check the checkbox, an alert popup will appear and they will be unable to continue.