How to add a terms and conditions box at create account page?

amolrand
Tourist
26 0 2

I want to add a terms and conditions agreement box on my creat account page is it possible with coding ? Or is there any free apps that can use for this ?
( I only found a few apps but it only works for checkout box. I want it on my create account page ) please let me know 🙂 thank you .KakaoTalk_20230907_181124656.jpg

Replies 2 (2)

Daniel_ITG
Shopify Partner
5 0 0

Hello,

 

I hope you are doing great!

 

You can easily achieve this by inserting a code snippet.

 

First, locate the template file, typically named "create-account.liquid" or "register.liquid." Then, add the following code:

 

<label for="terms-and-conditions">

   <input type="checkbox" id="terms-and-conditions" name="terms-and-conditions" required>

   I consent to the <a href="/pages/terms-and-conditions" target="_blank">Terms and Conditions</a>

</label>

 

Remember to replace "/pages/terms-and-conditions" with the actual URL of your terms and conditions page. This simple addition will create a terms and conditions checkbox on your "Create Account" page.

 

Please let me know if you need any further assistance.


Daniel Stevens

Shopify Expert

www.itgeeks.com

Daniel Stevens
Business RelationShip Manager
IT-Geeks
www.itgeeks.com
ElaineYu7
Visitor
1 0 0

Hello,

 

Thank you for the code!

 

I have tried in my store. However, I found that even if the customer have not tick the box, he can create the account without any alert. 

 

Please let me know if there is any other code to solve the problem?

 

Thank you so much!