Hello, @kateulrick
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
https://bjandco.com.au/collections/swimming-bags/products/swimming-bag-eucalyptus-leaves
i have added the custom line item - personalised - it works but then if you add that it doesnt show in the cart.
i have added the codes as suggest and zero luck, im getting orders and having to contact the people to get the information its meant to collect.
its getting very frustrating
Thanks
i have check your code your generate wron code can you please generate below link code and add
https://ui-elements-generator.myshopify.com/pages/line-item-property
The following code in your product template isn't inside your form, take the following.
<p class="line-item-property__field">
<label for="personalised-5-type-name-below">Personalised - $5 - type name below</label>
<input id="personalised-5-type-name-below" type="text" name="properties[Personalised - $5 - type name below]">
</p>
and paste inside the form tags, after the following.
<form method="post" action="/cart/add" id="product_form_5448462893213" accept-charset="UTF-8" class="product-form" enctype="multipart/form-data">
If it's not between <form> </form> it won't be submitted to the cart. I've just tested this on your store and it has worked.
the Liquid you have to change is on your product page where you previously posted the line item field
product template section code
the exact same place you first entered your custom line item code. this is all happening in your product template.
User | Count |
---|---|
543 | |
209 | |
125 | |
79 | |
43 |