Personalized checkout and custom promotions with Shopify Scripts
Is the 'Date' object not available in the Script Editor?
I get an "uninitialized constant Date" error when I try to use it.
(Goal is to hide a particular shipping method on certain days of the week.)
Hi there, did you ever find a solution for handling Date or DateTime in a Shopify Script?
(We have a similar requirement to parse a date and react differently)
Unfortunately no. It looks like we will need Shopify to make this object/method available.
Hi Stephen,
Do you know how we can request this please?
Have you managed to fix it? @Stephen_Baker @ashleighyslop @georgeadamson
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025