Terms and Conditions Checkbox that shows on specific product pages?

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 Partner
3477 464 551

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, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

sakinur-rahman
Shopify Partner
139 17 22

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