Adding line item properties to cart

Highlighted
Excursionist
14 0 4

Hi all

im having the issue where I have a custom field for personalising products on my product page but when they fill it out that text doesn’t come through to my cart/checkout or order information when it comes through to me. I have the narrative theme - hoping to get some help as I need it fixed ASAP  

 

thanks 

Highlighted
Shopify Partner
9274 1180 3266

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.

or 

are you able to code can you try this 

https://ui-elements-generator.myshopify.com/pages/cart-attribute

 

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
Highlighted
Excursionist
14 0 4
Www.bjandco.com.au

Is that what you meant by URL?
0 Likes
Highlighted
Shopify Partner
9274 1180 3266

@kateulrick 

can you plese try above link 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
Highlighted
Excursionist
14 0 4

I can’t find the part to put it in the cart template. Nowhere does it have Form

do I have to name the link the same as my line item?

0 Likes
Highlighted

Hi @kateulrick 

You need to use the shopify terminology to get it to come through to the cart and checkout page

Checkout the below code, the key here is to use the name="properties[YOUR PROPERTY NAME]"

 

<p class="some-class-you-decide">
  <label for="custom-engraving">Custom Engraving</label>
  <input id="custom-engraving" type="text" name="properties[Custom Engraving]">
</p>

 

At the cart/checkout the customer will see "Customer Engraving: Whatever they put inside the textbox"

You will also see this on your order information

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted
Excursionist
14 0 4
So where in the coding do I paste that? In cart section? Then where? Would this code be correct?


personalised-5-type-name-below


0 Likes
Highlighted

Hi @kateulrick 

In the product page. Paste it where you want it to be, you also need to change it slightly to fit your own class styling and wording.

If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at Defineify@gmail.com
0 Likes
Highlighted
Excursionist
14 0 4
I already have that set up on my product page. I need that to also show in my cart
0 Likes
Highlighted
Excursionist
14 0 4

I tried that code abs nothing changed