Add a name field

Highlighted
New Member
1 0 0

Hi! I need some help. I have added this code to add a name/personalize our water bottles, however I can't see this information in the order details so I have no idea what the customer entered.

<p class="line-item-property__field"><label for="enter-name-here">ENTER NAME HERE</label> <input required="" class="required" id="enter-name-here" type="text" name="properties[ENTER NAME HERE]" /></p>

 

Here is my website:

https://mysticsoulbottles.com/products/siesta-key-sk-water-bottle

 

Thanks for the help!

0 Likes
Shopify Expert
9965 84 1467

You've got the right code for a line item property but you missed an important step. The code has to be within the <form> - so with the add to cart button and quantity picker. Do you know where that is?

 

I moved your public code using the browser debug tools and can see that it will work once it's in the right place.

 

Screen Shot 2019-06-16 at 4.11.44 pm.png

 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes