All things Shopify and commerce
Hello,
Im trying to implement the default delivery date picker snippet.
https://help.shopify.com/en/manual/online-store/themes/customizing-themes/add-date-picker
But I would like to adjust it by excluding some days based on the day and hour of the order /
- If current time is later then 1pm from Monday to Friday , exclude next day
- If it is Saturday before 1 pm , exclude next day
- If it is Saturday after 1 pm , exclude next 2 days
- if it is Sunday , exclude next day
- Exclude all Sundays.
All help or tips are appreciated , Thanks
I have this code now but it is failing :
Thanks for your help.
I tried the code but still have the same issue .
It is sunday 11h14 pm now and I get this :
Delivery on Monday the 9th should not be possible.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024