Adding a checkbox to the checkout or cart page

Hi,

I would love to add a checkbox to my cart or checkout page that would contain something “Confirming a purchasing policy” and without clicking on this checkbox, checkout would not be available.

Here is my website : https://oleum.lt/cart

I hope you guys will help me!

Here you find code and steps to add checkbox on cart page.
https://ui-elements-generator.myshopify.com/pages/cart-attribute
But to make the checkout disable without checkbox checked you need to write a script.

Hello @Nickitoz

Welcome to Shopify Community

Please follow the steps from the documentation >> here. If you face any setup issues do let me know.

Thanks

I was wanting to do the same. However, I don’t have the liquid cart files that keep being referred to. I am using the Craft Template from Shopify. Please advise. I am needing a check box with text, required before completing sale.