Cart attribute - input field data not being pulled into Shopify

Topic summary

A user implemented a custom input field in their Shopify cart page (cart-page.liquid) to collect a preferred future ship date, but the data isn’t appearing in Shopify’s order information.

Initial Problem:

  • Cart attribute field for ship date not transferring to admin order details
  • Code snippet provided shows the implementation attempt

Solution Provided:

Remaining Issue:

  • While the fix works for standard checkout, express checkout bypasses the cart form entirely
  • Custom fields (party location, name, date, time) marked as required don’t appear in order notes when users select express checkout options
  • This limitation remains unresolved in the thread
Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Hi,

I have the code below in cart-page.liquid just to add an optional input field for future ship date. But this field is not getting pulled into order information page in Shopify admin. Could you please help identify the issue with the code?

<p class="shipping-text">Please allow 2-3 business days to process your order <b>before</b> shipping. Gifts ship Monday through Friday from our fulfillment center located in the Chicagoland area.</p>
<p class="cart-attribute__field">
  <label for="ship_date">Ordering early? Pick a future ship date here:</label>
  <input id="ship_date" type="text" name="attributes[ship_date]" value="{{ cart.attributes.ship_date }}" />
</p>
<p class="shipping-text">If you are placing an order with <b>a future ship date</b> that <u>also</u> includes multiple addresses please email <a href="mailto:support@packedwithpurpose.gifts" target="_blank">support@packedwithpurpose.gifts</a> upon placing your order to confirm your preferred ship date.</p>

@pramodraam

Please share the store URL with us then we will help you.

shop.packedwithpurpose.gifts

@pramodraam

please replace the code with given variable. i think you used the wrong shopify variable.

you can generate yourself the cart attribute code here.

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

we hope the given code helpful for you.

Thankyou for reaching us :slightly_smiling_face:

Thanks a lot for the help. Can I replace the label name in the code?

I want it to look like the below image

Hi, I just posted a new question on binding checkout button. Could you please help with that? Here is the link to my post. https://community.shopify.com/c/technical-q-a/adding-click-handler-to-checkout-button/td-p/2076775

Thanks for the code, it is working well. However, if a user selects express checkout than the data isn’t pulled off from the cart form. For example, I have created custom inputs to take party location, name, date and time and even marked those inputs as *required field. However, if a user selects express checkout then those details aren’t appearing on order notes.