Terms and conditions checkbox not working (no popup) using Narrative theme.

Solved
Highlighted
New Member
5 1 1

Hey Shopify Team,


Followed this guide: https://community.shopify.com/c/Shopify-Design/Cart-Add-an-Agree-to-terms-and-conditions-checkbox/m-...


Got the checkbox to appear, but I can bypass it by not having to tick the box. There is no preventative pop-up

Could you help me out? Using the Narrative theme.

Thx a lot

1 Like
Highlighted
Shopify Partner
4513 678 1413

Hello, @laketko 

Welcome to the Shopify community!
Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
New Member
5 1 1

Hi KetanKumar,

 

https://montelinas.de

 

The site is still under construction, It is not a final version yet.

 

Thx for ur suggestions

 

Kind reagrds

0 Likes
Highlighted
Shopify Partner
4513 678 1413

@laketko 

Thanks url

but how can i check this issue ?

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
New Member
5 1 1

just try to add something into the cart: press button "Zu den Boxen" afterwards choose one of the boxes afterwards press "in den warenkorb legen" -> press cart symbol. U will see the cart with an box and below.

 

Anmerkung 2020-06-29 220745.png

 

thx in advance

0 Likes
Highlighted
Shopify Partner
4513 678 1413

@laketko 

Thanks for clearfication

sorry, but i can't see any popup code.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
New Member
5 1 1

according to the link provided above  I pasted the code into the theme.js file

 

$(document).ready(function() {
    $('body').on('click', '[name="checkout"], [name="goto_pp"], [name="goto_gc"]', function() {
      if ($('#agree').is(':checked')) {
        $(this).submit();
      }
      else {
        alert("You must agree with the terms and conditions of sales to check out.");
        return false;
      }
    });
  });

 

0 Likes
Highlighted
New Member
5 1 1

This is an accepted solution.

I found a solution:

 

the mentioned code above should be placed into custom.js file.

 

Thx!

0 Likes