Cart - Add an 'Agree to terms and conditions' checkbox

Hello @TyW ,

thank you very much for your tutorial, it works perfectly on my Sectioned theme.

I have a question:

I legally need to add 2 mandatory checkboxes on cart page (terms and conditions + privacy).

I tried copying your code twice on the cart template, and it worked, now I have 2 checkboxes, but the second checkbox is not mandatory (meaning if the user doesn’t check it, no alert is shown).

Do you have any suggestions on how to make both mandatory?

Thanks again!

Sara