Add a date picker to your store

Follow the steps below to add a date picker or calendar to your store.

Note: This feature only supports one date picker on a product page at this time.

Create the date picker option

1. Navigate to the Option Sets section of the Infinite Options app in the left sidebar.

2. Create an option with a Text input type.

3. Click on the arrow or Label on Product field to display the additional settings.

4. Set the Class Name to: datepicker

5. Click on Save Changes, locate at the top right corner.

Edit your store's code

1. From your Shopify admin, click Online Store to arrive at the Themes page.

2. Find the theme you want to edit, click the Actions button, then click Edit code.

Add the necessary scripts to your theme

1. On the left side, under the Layout heading, click on the theme.liquid file.

2. Do a search using the keyboard shortcuts (ctrl F or ⌘ F) for the following word.

3. Copy the following code snippet.

4. Paste the snippet BEFORE the closing </head> tag.

5. Save your changes.

Add CSS styles

1. Go back to the Infinite Options app and open the Settings section in the left sidebar.

2. Locate the Custom CSS section.

3. Copy and paste the code snippet below of any existing CSS.

4. Save your changes.

5. For more customization options for the date picker, check out our guide: Click here!

Need assistance? Our support team is here to help. All you have to do is request the Expert Install Service from your Infinite Options dashboard and we can get this feature added for you.

Last updated