Adding line item properties to cart

Shopify Partner
11954 1474 4326

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.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Excursionist
14 0 4

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

 

Shopify Partner
11954 1474 4326

@kateulrick 

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

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Excursionist
14 0 4
I had that code before I have done it again. Still doesn’t work?

0 Likes

     

Please like and mark my post as a solution if I've helped you, thanks.
0 Likes
Excursionist
14 0 4
Where do I change it?
0 Likes

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

Please like and mark my post as a solution if I've helped you, thanks.
0 Likes
Excursionist
14 0 4
I don’t know where that code is? I can’t find it anywhere? What liquid file?
0 Likes
Shopify Partner
11954 1474 4326

@kateulrick 

product template section code

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes

@kateulrick 

the exact same place you first entered your custom line item code. this is all happening in your product template.

Please like and mark my post as a solution if I've helped you, thanks.
0 Likes