Collection Specific Field

PHOTO EMBED

Fri Mar 11 2022 10:50:19 GMT+0000 (UTC)

Saved by @websensepro #shopify #theme #productdescription #inputfield

{% for collection in product.collections %}
  {% if collection.title contains "New Collection" %}
    
	<p class="line-item-property__field">
<label for="childsName">Child's Name:</label>
<input id="childsName" type="text" name="properties[Child's Name]" form="product-form-{{ section.id }}">
</p>
  
  {% endif %}
{% endfor %}
content_copyCOPY

https://websensepro.com/blog/dawn-theme-how-to-add-custom-input-field-specific-products-and-collections/