Adding a form field to the shopping cart page

New Member
1 0 0

I work on several Shopify sites for a group of clients and one of them has asked me to add form fields to the shopping cart page to get some more information from customers. Most of the information is optional, so I don't have a problem adding them, I'm just not sure how.

In the past, I've used Customer Attribute by Secomapp, but this app costs $15/month for live sites. 

Does anyone know of other solutions or workarounds for this kind of request?

Thanks!

0 Likes
Shopify Expert
108 6 9

you can use this code 

 <p class="line-item-property__field">
    <label for="your-name">Leave a free note? <a class="link-pop" href="#popup1"> (View note cover)</a></label>
    <textarea required class="required p-note" id="your-note " placeholder="Maximum 150 characters" maxlength="150" name="properties[Your note]"></textarea>
  </p>



add this line of code inside the  form tag  

If you find our comment helpful, hit the like button and accept it as a solution.
Want us to implement custom changes in your store? Contact us
Email me directly - jim@avidbrio.com
0 Likes
Shopify Staff
Shopify Staff
656 76 152

Hey, @JimKnzr 

Shopify also has a guide on how to enable and modify cart notes for your cart page. Feel free to check out the guide here

I hope this helps! If there is anything else I can help you with, please let me know.

Dirk | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes