Dawn theme - terms and contidions checkboxes

Dawn theme - terms and contidions checkboxes

Marika_Barreca
Tourist
13 0 1

hello! so i'm customize the dawn theme but i can't find the file where to put the code to make required agree to the terms and condition, i was able to put all the various checkboxes (newsletter, cart...) but I can't make them mandatory before checking out, in my current theme i added the code in the "theme.js" section and it's working perfectly but i can't make it work in dawn, any help?

 

these are the instruction that i used :

https://community.shopify.com/c/shopify-design/cart-add-an-agree-to-terms-and-conditions-checkbox/td...

 

Replies 7 (7)

KetanKumar
Shopify Partner
37596 3668 12156

@Marika_Barreca 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

LitExtension
Shopify Partner
4915 1005 1183

Hi @Marika_Barreca,

- Step 1: Go to layout > theme.liquid file and add code like tutorial for debut theme.

Screenshot.png

- Step 2: Go to layout > theme.liquid file and add the same code as step 4 of the tutorial.

Screenshot.png

- Step 3: Go to sections > main-cart-footer.liquid file and add the same code as step 7 of the tutorial.

Screenshot.png

 Hope it is clear to you.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
Marika_Barreca
Tourist
13 0 1

i did those step but i can still checkout, create a new account and subscribe to the newsletter without agree to the terms and conditions

LitExtension
Shopify Partner
4915 1005 1183

Hi @Marika_Barreca,

Please send your site and if your site is password protected, please send me the password. I will check it.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
Olive_Dragon
New Member
14 0 0

Hello,

 

I have just successfully applied this to my dawn theme store (thank you!), however it is for a "click here forproduct substitution" as oppossed to agreeing to T&C. Do you know if this will show on each customers order form which I receive? If you have any solutions that would be most appreciated

soulchild37
Shopify Partner
224 9 64

You can set the name attribute and value for the checkbox,  eg:

<input type="checkbox" name="attributes[Terms and Privacy]" id="agree" value="Agreed at">


Which when the customer place the order, you will see the attribute and value reflect on the order's additional details :
yes_check.png

You can change the attribute and value to the text you want, eg: 

<input type="checkbox" name="attributes[Substitution allowed]" id="agree" value="Yes">

 

Hope this helps!

Axel

Spent too much support time dealing with order cancellation request from customer? Wouldn't it be good if customer can cancel order on their own without bugging your support? Try out Cancellable app! https://apps.shopify.com/cancellable . I also write articles about store customization that can improve your customer shopping experience here : Yagi Software Blog
adventmedia
Pathfinder
128 0 31

How do you make the Terms and Conditions open in a popup instead of a new tab?