Re: Terms And Conditions Checkbox Not Working - Refresh Theme

Solved

Terms And Conditions Checkbox Not Working - Refresh Theme

Bogi2
Excursionist
17 1 1

Hi,

I have added a Terms And Conditions Checkbox to my cart based on the following suggestions, but it is not working. It lets me checkout without ticking the box: https://community.shopify.com/c/shopify-design/cart-add-an-agree-to-terms-and-conditions-checkbox/td...

 

Do you have any suggestion how to make it work?

My shop is csoppmesek.hu 

Thank you!

Accepted Solution (1)

Bogi2
Excursionist
17 1 1

This is an accepted solution.

I have found the answer in the meantime:

besides following the steps in the blog (https://community.shopify.com/c/shopify-design/cart-add-an-agree-to-terms-and-conditions-checkbox/td...) , you also need to add the following code to the theme.liquid file before the </head> tag.

 

<link rel="preload" href="https://code.jquery.com/jquery-2.2.4.min.js" as="script">
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>

View solution in original post

Replies 7 (7)

Bogi2
Excursionist
17 1 1

This is an accepted solution.

I have found the answer in the meantime:

besides following the steps in the blog (https://community.shopify.com/c/shopify-design/cart-add-an-agree-to-terms-and-conditions-checkbox/td...) , you also need to add the following code to the theme.liquid file before the </head> tag.

 

<link rel="preload" href="https://code.jquery.com/jquery-2.2.4.min.js" as="script">
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>

omersharon
Tourist
4 0 0

thank you for cleaning this up, saved me a lot of time...

LegendaryBoss
Visitor
1 0 0

Does this work for the Dawn Theme? I went through the steps and it added it but no checkbox. So now my customer gts a popup screen saying the need to accept the terms  but it doesn't give them the option to.

RelentlessApps
Shopify Partner
10 0 0

If you don't want to deal with coding we created a free app to add a terms and conditions checkbox to the cart

 

RA Terms and Conditions Checkbox

RelentlessApps_0-1713791364940.png

 

RelentlessApps_1-1713791364940.jpeg

 

 

If my answer helps, please give it a Like 🙂

Relentless Apps
ameliiie
Shopify Partner
1 0 0

Bonjour, j'ai installé l'application qui est génial. Par contre quand les gens paye avec paypal on ne demande pas d'accepter les conditions d'utilisations. Comment faire ? merci

Jahid-KlinKode
Excursionist
145 1 5

Hey @Bogi2, here's a handy video guide on adding a 'Agree to Terms and Conditions' checkbox to your Shopify cart without using any apps: https://www.youtube.com/watch?v=smyIqWWuZvs

Weblatech
Shopify Partner
6 0 0

Hi,

If you have Shopify PLUS, you can use this app: https://apps.shopify.com/terms-conditions-in-checkout

Shopify stores & Apps |
- Have we helped? Click Like to let us know!
- If your question was answered? Mark it as Solved.