Hi, I’m trying to make a booking calendar that only allows visitors to book Thursdays 6pm to midnight. Even if I specified only that schedule to be available in the settings and connections, the calendar won’t grey-out unavailable days and instead tells the visitor “Please select another day” after they already clicked an unavailable day. Instead, I want them to be unable to click unavailable days. This is the page: click here where it says, “Show us what you got!”. Is a dropdown with the calendar. Only Thursdays are supposed to be available to click.
Hi Felix, looks like some glitch there. For example if you go to the next month and return all other days will be greyed out. Is that what you are looking for?
Hi, it has been 2 weeks. Any update?
Hi Loncar, is me Felix, I originally asked without an account here but now I made one.
The way they’re being greyed out is not how I mean because they’re still clickable. Note how past days or vacation days are completely unselectable/unclickable. That’s how I want it. I’ve been using EA on sites since April 2018 when I bought the extension Connect, and I don’t remember finding this glitch before then. For example, not that I’m trying to edit the plugin directly but just so that you know what I mean… the bootstrap daypicker’s built-in “daysOfWeekDisabled” is supposed to grey-out weekdays specified as numbers (0,1,2,3,4,5,6) in a way that they can’t be clicked. For example
dateFormat : 'yy-mm-dd',
However, the days show grey but still clickable and displays that message “Please select another day”. I’m able to achieve my goal by adding vacation days, but then I need to keep doing it forever instead of just blocking all weekdays except for Thursdays once.
Also “block_days” shortcode is a user-friendly method that works but then is in a yyyy-mm-dd format and I don’t know how to specify a day of the week and not a specific date.