How to add “I agree to terms” checkbox on Shopify registration form

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy 3 months of Shopify for $1/month on select plans.

If you allow user registration on your website, you might want to add a Terms of Use and Privacy Policy checkbox to the Shopify registration form, especially now with all the GDPR frenzy going on.

DEMO

Unfortunately, Shopify doesn’t have this implemented by default, but you can do that manually. In this tutorial, I will be showing us how to add the checkbox to Shopify registration form.

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find the theme you want to edit, and then click Actions > Edit code.
  3. In the Templates directory, click customers/register.liquid.
  4. Find the following Liquid tags in the code:{% form 'create_customer' %} and {% endform %}
  5. Find the HTML code for your checkout button. Look for a <button> or an <input> element with the type attribute set to submit. The code might look something like this:
  6. On a new line above the submit button, paste the following code:
  7. Click Save and you’re done.

The Terms and Privacy Policy checkbox should now appear on your Shopify registration form.

Looking for Shopify Experts?

Hura Apps can help you take your store to the next level

Our team of experienced designers and developers can help you create a beautiful, high-converting Shopify store that will drive sales and increase customer satisfaction. From custom design to app development and optimization, we have the skills and expertise to help you achieve your eCommerce goals.

Get in touch

You may also like...

1 Response

  1. alina van eickelen says:

    Hello! thank you so much, It worked for me.
    I was wondering, is there a way to put it also in the check out or cart?
    I tried it in both “sections” but it didn’t work.
    Thanks again

Leave a Reply

Your email address will not be published. Required fields are marked *