Jump to content

Commerce / Checkout / Additional Fields / Calendar Format

Recommended Posts

Hello, 

I can't see this question having been raised before.

Within the Commerce side, there is a section within the Checkout where one can add Additional Fields for customers to see and respond during their checkout process.

Within this, there is a Calendar feature. 

Unfortunately, the calendar is default formatted as MM DD YYYY, but I would love the format to be DD MM YYYY - making it more UK-centric.

Can anyone help with a code tweak to enable that, please?

Thank you!

Link to comment
  • 3 weeks later...
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 10/2/2020 at 4:41 PM, Giles_Mit said:

The checkout...calendar is default formatted as MM DD YYYY, but I would love the format to be DD MM YYYY - making it more UK-centric. Can anyone help with a code tweak to enable that, please?

Squarespace lock their checkout down and don't allow anyone to add code. You won't find a way around this until Squarespace do something about it. To raise a feature request, open a ticket through Customer Support. 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)

Buy me a coffee

Link to comment

Thanks for the heads up, Paul!

As a follow up, as this is in the 'additional fields' part of the commerce checkout option (which is editable), I thought some custom CSS to adjust the calendar formatting across the "Date" form field when building a form would do the trick.

Is that not correct?

In fact, it just happens that where I'm looking to use the feature shows at the point of checkout for my site, but for others this "Date" field will show up anywhere you may choose.

If that makes sense?

So, new question, do you know how to adjust the "date" form field display within forms to be DD MM YYYY instead of MM DD YYYY?

Link to comment

Unfortunately that’s not correct. Custom Checkout Forms cannot be customised with CSS either. 
 

Regarding other date fields on your site. See my old post here: 

 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.