Terms and conditions checkbox support

If you have a terms and conditions checkbox on your shopping cart page you may need to implement some additional code to support it. 

Step 1

Within your storepickup-addons.liquid file add the following code:

<script type="text/javascript">
  window.customCheckoutValidation = function() {
    if ($("#terms").is(":checked")) {
      return true;
    alert("You must agree with the terms and conditions");
    return false;

Step 2

Ensure that your terms and conditions checkbox has the ID of terms.

Step 3

Ensure your cart form field has the ID of cart_form.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.