Good morning!
We are getting set up to sell class materials through Shopify. I got this set up to show a dropdown to select the class this is for, as well as a text box for the student name, in case it’s different from the name on the order. The issue I am running into at the moment is that if there are multiple materials on the order, only the information from the final item on the order is saved. We are needing the information from the input on each item.
Here’s the code added to the cart template creating the requests and collecting information:
{% for tag in item.product.tags %}> {%- if tag == “Clay Class Supplies” -%}> > >
{% endif %}> {% endfor %}> > > > {% for tag in item.product.tags %}> {%- if tag == “Clay Class Supplies” -%}>
{% endif %}> {% endfor %}> >
(I’m sure there’s some cleanup to be done. I tried to get rid of what look like duplicate triggers to check for the same tag, but the editor got mad at me about something else when I did that so I just put it back.)
Thank you for any insight!
