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

Community Manager
Community Manager
413 40 1107

You can add an I agree with the terms and conditions checkbox to your cart page that customers must check before continuing to the checkout. If a customer doesn't check the checkbox before clicking the checkout button, an alert pop up will prevent them from continuing.



Tip: It's not possible to add the checkbox to the checkout pages. It can be added only to the cart page that exists at

The steps for this tutorial differ depending on whether you are using a sectioned or a non-sectioned theme. A sectioned theme is a newer theme that lets you drag and drop to arrange the layout of your store's pages.

To figure out whether your theme supports sections, go to the theme's Edit code page. If there are files in the Sections directory, you are using a sectioned theme. Non-sectioned themes were released before October 2016, and do not have files in the Sections directory.

If you are using a sectioned theme, then click the Sectioned themes button and follow the instructions. If you are using an older, non-sectioned theme, then click the Non-sectioned themes button and follow the instructions.

TyW | Online Community Manager @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Replies 143 (143)
Shopify Partner
22 0 1

I enden up using the app "Terms and Conditions Checkbox". Not a perfect solution, but for now it works.

New Member
1 0 0

My checkbox doesn't appear on firefox for some reason. It works on all other browsers. Has anyone encountered this and know how to fix it? 

New Member
1 0 0

I am using Crave theme. So that I am following steps for sectioned themes. However, I can't find  theme.js or theme.js.liquid under the my code. I am able to input the check box but not function. Please help.

New Member
2 0 0

I made the change but it still lets customers go through without clicking the checkbox.