Zen Cart Logo
Forums / General Questions / Date Picker Cut off Time

Date Picker Cut off Time

Views: 985

Results 1 to 2 of 2
20 Oct 2013, 8:52 PM
#1
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Date Picker Cut off Time

Hey everyone,

Z.C version: 1.5.1

I would like to use Date Picker Mod for my store but I can t figure out to set a cut off time for the calendar

For example, if a customer place an order after 3 PM, it will automatically blocked today date for delivery.

I would also like to be able to block some date like Christmas or Labor Day.

I looked at the instructions but I am lost on what conditions should I had to the on_call_js file.

Any help would be more than appreciated

Thank you

20 Oct 2013, 9:03 PM
#2
nicksab avatar

nicksab

Totally Zenned

Join Date:
Apr 2011
Posts:
592
Plugin Contributions:
0

Re: Date Picker Cut off Time

nicksab:

Hey everyone,

Z.C version: 1.5.1

I would like to use Date Picker Mod for my store but I can t figure out to set a cut off time for the calendar

For example, if a customer place an order after 3 PM, it will automatically blocked today date for delivery.

I would also like to be able to block some date like Christmas or Labor Day.

I looked at the instructions but I am lost on what conditions should I had to the on_call_js file.

Any help would be more than appreciated

Thank you

I figured that if I had this array scwDisabledDates[0] = new Date(2013,11,25) to the js_script, it will disable Christmas 2013

but I am still clueless when it come to the cut off time.

Any help please??