Date Picker - Dates Not Being Saved in Cart/Checkout/Order notes

Topic summary

A user implemented a date picker on their Shopify product page following an official guide but found that selected dates weren’t saving to cart, checkout, or order notes.

The Solution:
The issue was resolved by changing the input field’s name attribute from attributes[date] to properties[date]. This simple modification allowed the date to properly pass through to orders.

Key Technical Detail:
The date picker input must be placed inside the <form> tags of the add-to-cart form. If positioned outside the form element, it won’t be included in the submission process.

Ongoing Issues:
Several other users reported the same problem even after making the properties[date] change. The helper suggested verifying that:

  • The input field is correctly nested within the form tags
  • The code structure matches the working implementation

Alternative Solutions Mentioned:

  • Third-party Shopify apps like “Product Designer & Options” and “Flare: Delivery Date Picker” were recommended as more reliable alternatives to custom code implementations.
Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

Hi Community

I have been trying to implement the date picker in to my theme.

I followed this guide: https://help.shopify.com/en/themes/customization/cart/add-date-picker-for-delivery-dates

the only small difference being that I saved this in the product page (product-template.liquid) and not on the cart page, as I use a cart ajax drawer (the less pages a user has to jump through the better for conversions).

Getting the date picker to appear and selecting a date is fine, but once i go through the checkout process I do not see it anywhere, and when I place a successful order the date has not been saved and i cannot see the date in the order.

Just for your reference, here are my code notes below:

1. On product-template.liquid add the code below around line 222 right before class=product-single_add-to-cart

{% render ‘delivery-date’ %}

2. Create new snippet called delivery-date.liquid

3. Add this code in new snippet delivery-date.liquid

{{ ‘//code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css’ | stylesheet_tag }}

Data di consegna:

Se non selezioni una data lo spediremo al piĂš presto.

Example product page: here

Any help would be great. I think it should be a quick fix.

Cheers

Hello,

It’s Shraddha.

I would like to help you here.

You just need to change one word "attributes[date]". Please add “**properties[date]” instead of “attributes[date]” in your above code sample. Other things are just find to go.

Line with input will look something like this -

Hope this will work for you.

Let me know if any.

Thank you

1 Like

That worked @shraddha_patel , you’re a life saver. Thanks so much! I knew I had to add “properties” somewhere I just wasn’t sure where.

Thanks again for the quick and concise support. Really appreciated.

1 Like

Hello,

You’re welcome .. It sounds great that it worked well.

Thank you

Hello Shraddha, I tried this solve and I’m still not seeing the date selected show up on the order. I added this code to the cart page as the tutorial suggested, but when I change to “properties” nothing changes on the backend of the order. Can you help?

Hi, did you ever find out how to fix this? i’m having the same issue at this moment. i changed the word to properties but nothing happens.

Hello @May30 ,

May I have your store url and screenshot of that code block where ‘Properties’ added.

Hello @laurenmoreno ,

Sorry for being late. If you’re still facing the same issue. Please send me your store url and screenshot of that code block where ‘Properties’ added. I will try to fix it for your theme as well.

Hello Shraddha, here is the link to my store: https://algoazulpanama.myshopify.com/

and this is the screenshot

thank you

Hello @May30 ,

This input field must be inside the add to cart submit form. Are you able to check that? If the input is just added anywhere outside the form it will not be consider as a part of submit process instead it’s just a input box without any meaning.

If you can find the position and may be rearrange it based on .. elements. Please try that and let me know. As without code in hand I am not able to check everything, I can just suggest you the way for possible issues.

Your store is password protected. In order to check theme you have to send me password as well.

Thank you

Hello, the same thing happens to me. I mean, I followed the instructions, but instead of putting it on the shopping cart page, I put it next to the products page. I have made the “properties” change but the date indicated by the client is still not visible in the Orders.
Here I send you the url of my page, many thanks in advance.

https://aruciaflors.com/

Hi @AruciaFlors

Hope you are doing well!

You can try using our Shopify app “Product Designer & Options” to add date picker custom option in your product page. The selected value of date picker will be saved in the orders as well.

Feel free to reach out if more details are needed.

Hi! Totally feel your pain here — a lot of custom-built date pickers break or don’t pass data cleanly into the order.

We actually built Flare: Delivery Date Picker for Shopify to solve this. It:

  • Lets customers choose delivery or ship dates

  • Passes the selected date cleanly into the order, order notes, and exports (no missing info)

  • Works on product pages, cart, or in Checkout for Plus merchants

It also supports blockout logic, cut-off times, and lead times by product. Let me know if helpful — happy to share a demo!