WooCommerce Store Hours Blocker Plugin

Description
WooCommerce Store Hours Blocker is a lightweight and reliable plugin that allows you to control when customers can place orders on your WooCommerce store. It lets you define your store’s opening and closing hours and automatically blocks Add to Cart and Checkout when the store is closed — without breaking your website design or user experience.
This plugin is ideal for businesses that operate within specific working hours, such as restaurants, grocery stores, pharmacies, local shops, and service-based WooCommerce stores.
How It Works
- Set store opening and closing hours for each day of the week
- Optionally mark specific days as fully closed
- Add holiday or off-dates (YYYY-MM-DD format)
-
When the store is closed:
- Add to Cart is blocked
- Checkout is blocked
- A clear message appears below the Add to Cart button
- When the store is open, everything works normally
All logic runs safely in the background and only affects purchasing actions.
Design & Performance Safe
- Admin-only settings page
- Uses WooCommerce native notice styling
- No template overrides
- No database changes to products or orders
- Lightweight and optimized for performance
Your website UI remains completely unchanged.
Perfect For
- Restaurants & food delivery stores
- Grocery & local shops
- Pharmacies
- Appointment-based businesses
- Any WooCommerce store with fixed working hours
Installation
- Upload the plugin ZIP via Plugins → Add New → Upload Plugin
- Activate the plugin
- Go to WooCommerce → Store Hours Blocker
- Set your store hours and message
- Save settings
Features
- Set store hours for Monday to Sunday
- “Closed all day” option for specific days
- Holiday / off-date support
- Blocks Add to Cart outside business hours
- Blocks Checkout outside business hours
- Shows a clean notice below the Add to Cart button
- Custom closed message
- Admin bypass option (admins can order anytime)
- Supports overnight hours (e.g. 8 PM – 3 AM)
- Uses WordPress timezone settings
- Works with simple and variable products
- No frontend CSS or JavaScript added
- Does not affect theme layout or design
Requirements
- WordPress 5.8 or higher
- WooCommerce installed and activated
- PHP 7.4 or higher
Instructions
- Download the plugin ZIP file.
- Log in to your WordPress admin panel.
- Go to Plugins → Add New → Upload Plugin.
- Upload the ZIP file and click Install Now.
- Activate the plugin.
Notes
- The plugin uses your WordPress timezone (Settings → General).
- Works with both simple and variable products.
- No frontend CSS or JavaScript is added.
- Recommended to test on a staging site before using on a live store.
| Author | happycodex |
|---|---|
| Category | Plugins / WooCommerce |
| Price | $17 |
| Extended License | $51 |
| First Release | Jan 12, 2026 |
| Last Update | Jan 12, 2026 |
| Supported cms | WooCommerce 5.x, WooCommerce 6.x, WooCommerce 7.x, WooCommerce 8.x, WordPress 6.0, WordPress 6.1, WordPress 6.2, WordPress 6.3, WordPress 6.4, WordPress 6.5, WooCommerce 9.x, WordPress 6.6, WordPress 6.7, WordPress 6.8 |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks