Woocommerce / WordPress – Out Of Hours

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.

Related posts

Leave a Reply

3 comments

  1. 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.

  2. 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.