I'm trying to add a checkbox to specific products- using dawn theme

I’m trying to add a checkbox to specific products, I have tagged the products and created a list. here’s the code I created but currently it displays in all products.

Yes my customisation is correct, I understand there are no refunds or exchanges for costum products

Hey, @monica22

While I’m not formally trained in code to help you with your particular coding question, I do have an alternate solution for you. There is a free app called terms and conditions checkbox that will add a checkbox on your cart page. You can edit the text and links to whatever you want it to say.

If there is anything else I can help you with, please let me know.

Disregard, I found it.

I added this to the main-product.liquid under section.

{% for collection in product.collections %}
{% if collection.title contains “Custom Art” %}

Yes my customisation is correct

I understand there are no refunds or exchanges for costum products

{% endif %} {% endfor %}

here’s the video explaining how to do it.

https://youtu.be/3TvLOHoQgvw