Hi everyone, Thank you for coming to see my issue,
I have followed this post https://help.shopify.com/themes/customization/cart/add-terms-and-conditions-checkbox to the letter but I can click the checkout button without selecting the box, I have also done the "required" insert as suggested by someone else in the post and it hasn't helped;
<p style="float: none; text-align: right; clear: both; margin: 10px 0;">
<input style="float:none; vertical-align: middle;" type="checkbox" id="agree" required="required" />
<label style="display:inline; float:none" for="agree">
I agree with the <a href="Replace with your link to terms and conditions here">terms and conditions</a>.
One caveat is that I currently have my site set to develop only and the page it goes to is the checkout disabled one, does that override the accept terms and conditions?
Thank you so much for your help, my coding language knowledge is at a 'can read and kind of understand' level
I had the same issue but I got some help
In my case it didn't work because it seems the very last version of the "Debut" theme doesn't use jquery anymore, so the jquery code added at the bottom of theme.js couldn't work.
I needed to add jquery in the theme.liquid file.
Add the following code just before the </head> tag in theme.liquid.
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" crossorigin="anonymous"></script>