Quote Originally Posted by henteaser View Post
Hi,

Thanks for this great contribution, much respect!

Is there some way of making certain dates in the future "unavailble"?

Would there be a way of doing this through the admin panel?

(apologies if this has already been discussed, I couldnt find it if it has!)
To edit blackout dates:
  1. Open: Includes/modules/pages/checkout_shipping/jscript_calendar_head.php
  2. Find the few lines of javascript (you can't miss it), and look for this part:
    Code:
    blocked: ['24-25,31 12 *', '0 * * 0']
  3. There are instructions near the top on how to disable specific days.
  4. By default, the 24th thru the 25th of december of each year is disabled (24-25,31 12 *) and every sunday (sunday is day zero of the week) of every week of every month of every year is disabled. You can add as many blackout parameters as you'd like by separating them with commas.
Unfortunately there is no way of doing this through the admin panel right now. I will put it onto the Features Wish List.

Let me know if you get it figured out. I will also add instructions to the readme file on how to block out dates (which i should have done in the first place)