Hello,
in my stores cart , there is opoup massage coming up to agree to terms and conditions to proceed further. But there is no box where i can ticked that agreed.
I am on brookly theme.
Can somebody help me? Thanks
Solved! Go to the solution
Success.
It looks for a checkbox to get checked, but I haven't found any HTML code to support that. If you don't know where it is coming from (most probably a custom code or some left overs from an app) and you just want to get rid of the popup go to Themes code editor, open your theme.js file and look for this snippet:
$(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; } }); });
Just comment it out so it looks like this, and give it another try:
/*$(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; } }); });*/
note the /* at the begging and */ at the end of the snippet.
Subject | Author | Latest Post |
---|---|---|
Subject | Author | Posted |
---|---|---|
17m ago | ||
37m ago | ||
39m ago | ||
50m ago | ||
an hour ago |
User | Count |
---|---|
93 | |
62 | |
61 | |
56 | |
41 |