How can I disable checkout or even access to a store during certain hours? The problem I have is, I'm setting up a online store using WooCommerce, but customers should only be able to place an order during certain times of the day.
I had to solve this for a business cafeteria business trying to get off the ground. They only wanted the preorders available during certain times of the day.
I used Scheduled Content plugin... or one like it. I honestly can't remember and the business fell through so the site isn't around anymore to find it.
You could use the Catalog Visibility Options extension which allows you to disable the cart. Sadly, you would have to manually turn it on / off during the day for it to work. You would probably want something more automated.
An easy but dirty way would be to use jQuery to hide the add to cart buttons at a certain time and set a message to say that it's out of hours.
edit: This certainly wouldn't be the most reliable method though.