CHECKBOX AGREE TERMS IN CONTACT FORM AND CART, CHECKOUT

CHECKBOX AGREE TERMS IN CONTACT FORM AND CART, CHECKOUT

personal_car
New Member
4 0 0

HOW TO SHOW AND BE ABLE CHECKBOX AGREE TERMS IN CONTACT FORM AND CART, CHECKOUT AND EVERYONE PARTS OF THE SITE WE NEED FOR GDPR RULES?!

 

WE USE DAWN THEME

 

PLEASE YOU HAVE SOME SOLUTIONS TO FIX IT?!

Replies 5 (5)

NiccosMedia
Shopify Partner
51 4 13

To show and enable a checkbox for agreeing to terms in your contact form, cart, checkout, and other parts of your site, you can follow these steps:

  1. Log in to your Shopify account and go to the "Themes" section of your admin panel.
  2. Click the "Actions" button for the theme you want to edit and select "Edit code" from the dropdown menu.
  3. In the "Sections" folder, click on the file named "customer-form.liquid" to edit the code for your contact form.
  4. Find the code for the form fields and add a new checkbox field for agreeing to terms, using the following code:

 

<div class="form-field">
<label for="agree-terms">
<input type="checkbox" id="agree-terms" name="properties[Agree to terms]" required>
I agree to the <a href="{{ shop.url }}/pages/terms" target="_blank">terms and conditions</a> of this website.
</label>
</div>

 

  1. Save your changes and test the contact form to make sure the checkbox for agreeing to terms is appearing and functioning as expected.

You can repeat these steps for the cart and checkout pages by editing the relevant theme files, such as "cart.liquid" and "checkout.liquid".

It's important to note that this solution is just an example and may not meet all of the requirements for GDPR compliance. You should consult with a legal professional to ensure that your website is fully compliant with GDPR rules.

Greetings Niclas
Senior Front-End Developer
Founder of Niccos Media
Based in Germany
kontakt@niccos-media.de
personal_car
New Member
4 0 0

conta.jpgMany thanks this work, another question...

 

If we want to show in our mail contact customer the field accept checkbox privacy how we do? 🙂 please see the attachment for the example 

NiccosMedia
Shopify Partner
51 4 13

You want to show the checkox below your E-Mail Field?

Greetings Niclas
Senior Front-End Developer
Founder of Niccos Media
Based in Germany
kontakt@niccos-media.de
personal_car
New Member
4 0 0

when we receive a mail we want to show that customer accept the policy. do you undestand? 🙂

personal_car
New Member
4 0 0

when we receive a mail we want to show that customer accept the policy. do you undestand?