Snippets Collections
{% 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 %}
{% If product.title == "Your product name" %}
<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 %}
<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>
star

Fri Mar 11 2022 10:50:19 GMT+0000 (UTC) https://websensepro.com/blog/dawn-theme-how-to-add-custom-input-field-specific-products-and-collections/

#shopify #theme #productdescription #inputfield
star

Fri Mar 11 2022 10:48:34 GMT+0000 (UTC) https://websensepro.com/blog/dawn-theme-how-to-add-custom-input-field-specific-products-and-collections/

#shopify #theme #productdescription #inputfield
star

Fri Mar 11 2022 10:32:33 GMT+0000 (UTC) https://websensepro.com/blog/dawn-theme-how-to-add-custom-input-field-specific-products-and-collections/

#shopify #theme #productdescription #inputfield

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension