How to make line item properties appear in cart?

How to make line item properties appear in cart?

ajgajic
New Member
5 0 0

I have recently updated to Dawn 15.2 and my custom items with line item properties have all been deleted. I have tried following the original tutorials to add them back and realised that the entire code set up for Dawn has changed. 

 

After following several tutorials, I noted that I can use the custom liquid feature to add the line items. It shows up well on the site, and you are able to add information to it, however it is not showing up in the cart and does not show up when an order is placed.

 

Does anyone know how to fix this?

 

This is the code I currently have in the custom liquid:

<div><label class= "form__label" for="Name">Name</label>
<input required class="required" id="name" type="text" name="properties[Name]">
<label class= "form__label" for="Number">Number</label>
<input required class="required" id="number" type="text" name="properties[Number]">
</div>

 

It's for football t-shirts and users can enter their name and number

 

Thank you!

Replies 8 (8)

Sonya_2025
Shopify Partner
318 36 57

@ajgajic  Can you share your store url? Let us have a check

You may add the code to a wrong place

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out.Get Shopify free trial 1$/mon
 EMAIL ME  Motivate me by  PAY ME
ajgajic
New Member
5 0 0

Hey how do I do that?

Sonya_2025
Shopify Partner
318 36 57

How can I visit your store?

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out.Get Shopify free trial 1$/mon
 EMAIL ME  Motivate me by  PAY ME
ajgajic
New Member
5 0 0

My store is justincasett.com

Sonya_2025
Shopify Partner
318 36 57

Thanks

But I do not find your football t-shirt product in this website. Can you share this product url address

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out.Get Shopify free trial 1$/mon
 EMAIL ME  Motivate me by  PAY ME

Valee
New Member
12 0 0

I would like to follow this topic. Same issue

Sonya_2025
Shopify Partner
318 36 57

Hi @Valee   Leave your product url from your website. Let me have a check

Please let me know if it works by giving it a Like or marking it as a solution!
Feel free to reach out.Get Shopify free trial 1$/mon
 EMAIL ME  Motivate me by  PAY ME