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

Swagdaddy
New Member
1 0 0

Is it possible to add a second box?  I’ve added one but you’re only required to click the original box.  You can just click the first box and continue on.  I’d like it so both boxes must be checked before proceeding.  Thank you much!!!

0 Likes
christianploege
New Member
1 0 0

hi there

im chris from denmark

i use narrative theme for mig shop. i tried to paste them codes in the right places. but no i agree button comes up.

what to do then

best regards chris

0 Likes
RomyL
New Member
1 0 0

Hi Ty,

thank oyu so much - this is soooo helpful for no-coders like me thanks a million! 

may I add one non-coder question? How do I manage to translate the now showing texts? I have been foolishly trying to add the "agree" id to the language json files, but (of course) I failed

Could you give me a hint?

 

Thank you so much and best
Romy

0 Likes
Crystalmarlyn
New Member
2 0 0

Hi I did this for the Brooklyn theme and some how I deleted something where now I on my site you can't even check out. I followed your directions but seemed to have deleted the wrong thing PLEASE HELP!  

 

This is what it is currently on the Assets- Theme.js.liquid currently;

 

// theme.checkoutIndicator();
// Add a loading indicator on the cart checkout button (/cart and drawer)
theme.cache.$body.on('click', '.cart__checkout', function() {
$(this).addClass('btn--loading');
});

0 Likes
NailMeNow
New Member
1 0 0

This was extremely helpful thank you. 

I have followed the exact steps and successfully have my checkbox. 

Is it also possible to add the refund policy to this statement so it would instead say I agree with the Terms and conditions and Refund policy

Many thanks 

0 Likes
shopcami
Excursionist
37 0 15

Hello @TyW 

Thank you for this! Is there a way to make the checkbox bigger?

0 Likes