I am using Dawn theme and have added the following code to card-product.liquid.
My aim was to allow the customer to add a note for each item they add to cart.
@voykit Can you please share screenshot of that orders part. If it inconvenient to share here you can DM or email
Also, have you changed the code in order confirmation emails?
@voykit
Try checking for the below code in the confirmation email
1> if it exists then remove the first and last line and save and test
2> if it does not exist then remove the first and last line from below code and paste it in the line items (product) loop
{% if line.gift_card and line.properties["__shopify_send_gift_card_to_recipient"] %}
{% for property in line.properties %}
{% assign property_first_char = property.first | slice: 0 %}
{% if property.last != blank and property_first_char != '_' %}
<dt>{{ property.first }}:</dt>
<dd>
{% if property.last contains '/uploads/' %}
{{ property.last | split: '/' | last }}
{% else %}
{{ property.last }}
{% endif %}
</dd>
{% endif %}
{% endfor %}
{% endif %}
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!