HI Matt, did you work out how to view the additional notes that customer are adding? I’ve followed all the instructions, the customer can complete the box but it doesn’t notify me or share what the customer has written, Thanks, Lauren
Topic summary
Tutorial Overview:
This advanced tutorial explains how to add custom form fields (cart attributes) to Shopify cart pages to collect additional customer information. The data appears in order details within the admin panel. Examples include dropdown menus asking “How did you hear about us?” or delivery preferences.
Key Distinctions:
- Cart attributes differ from order notes (special delivery instructions) and line item properties (product-specific customizations)
- Only compatible with cart pages, not cart drawers or popups
- Instructions vary between Sectioned themes (post-October 2016) and Non-sectioned themes (older)
Implementation Steps:
- Use the Shopify UI Elements Generator tool to create form field code
- Paste generated code into
cart-template.liquidorcart.liquidbefore the closing</form>tag - For required fields, remove the
novalidateattribute from the opening<form>tag - Optional: Add display code to email notifications and Order Printer templates
Common Issues Reported:
- Required fields not preventing checkout, especially with express checkout buttons (Apple Pay, Google Pay)
- Dropdown fields not displaying properly despite correct code
- Cart attributes not appearing in order backend
- “Error updating cart” messages when typing in fields
- Missing
</form>tags in some theme structures
Status: Discussion remains open with unresolved technical issues around field validation and express checkout compatibility.
1 Like