Terms and Conditions Checkbox that shows on specific product pages?

dannnn333
Visitor
1 0 0

Hi there using an older version of the Dawn theme (we plan to upgrade this year. there's just a lot of customization).

 

I was able to insert the below using the custom liquid option in theme editor. However, I realize this won't work because not all of our products need this checkbox. Is there a way to have this Terms and Condition only populate on the product page if there's a certain Product Tag on the product? Product tag could be "checkbox". If so, could someone help me out?

 

 

<p style="float: none; text-align: center; clear: both; margin: 10px 0;">
  <input style="float:none; vertical-align: middle;" type="checkbox" id="agree" />
  <label style="display:inline; float:none" for="agree">
    I agree with the <a href="/pages/terms-and-conditions">terms and conditions</a>.
  </label>

 

Screen Shot 2023-02-15 at 4.47.17 PM.png

 

Thank you!

 

 

 

Replies 2 (2)

BSS-Commerce
Shopify Expert
3376 447 495

Hi @dannnn333 

Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

sakinur-rahman
Shopify Partner
118 15 19

Hey,

you can follow the below video and create separate product template where you would like to show the checkbox.

 

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications -

Your Coffee Tip and my code, A perfect blend. ❤️ Buy Me A Coffee


Website: HelloSakin.com