20 czerwca 2018 05:31:22

Delivery Calendar - Additional Configuration Options?

Avatar
  • Wysłany: 7 months ago
Have recently installed the Delivery Calendar plugin and I am looking for a couple of configuration options:
* Can the week be started on a Sunday instead of Monday?
* I found the option to enable Saturdays as a delivery option. Is it possible to also enable delivery requests on Sundays?

Thank you in advance!
0
Avatar
  • Wysłany: 7 months ago
  • Moderator
Hello Chris,

Both points you may edit directly at the js script file. It can not be done directly from configuration of the widget.

0
Avatar
  • Wysłany: 7 months ago
Thank you -

I found the option for starting our the week on Sunday:

     \Plugins\Widgets.DeliveryCalendar\Scripts\jquery.deliverycalendar.js

then the line for:

     firstDay: 0,

(mine was line 118), but I haven't been able to identify which parameter allows me to enable Sundays as a possible delivery day. Which variable is that?
0
Avatar
  • Wysłany: 7 months ago
  • Moderator
Hello Chris,

Please have a look at noWeekend function. It should be located there.
0
back to top