Description
Close Up Shop lets WooCommerce store‑owners define any number of closure periods (for holidays, inventory counts, vacations, etc.). While the shop is closed, all store‑related pages (shop, product, cart, checkout, account) redirect to a dedicated Shop Closed page that displays your custom message and the exact date & time the shop will reopen.
Version 1.4 introduces a real‑time [closeupshop_reopen_time] shortcode that is evaluated whenever the page is viewed, so the reopening information is never stale, even if you change the schedule later.
Key Features
Creates a Shop Closed page automatically on activation.
Intuitive admin screen under Settings
Close Up Shop to add, remove, and reorder unlimited closure periods.One‑click Add / Remove rows (JavaScript enhanced, no page refresh).
Live [closeupshop_reopen_time] shortcode – drop it anywhere to show the next reopening date & time using your WordPress date/time formats.
Automatic redirection from WooCommerce pages while the shop is closed.
Respects the site time‑zone set in Settings
General.Sends nocache_headers() and defines DONOTCACHEPAGE during redirects and on the Shop Closed page to prevent caching plugins from serving outdated content.
Short Description
Automatically redirects visitors to a “ Shop Closed” page during scheduled closure periods and shows a live reopening time powered by a shortcode that updates on every page load.
Support
Need help? Open a topic on the plugin support forum or contact the author via https://eliyahna.com.
Acknowledgements
Thanks to the WordPress & WooCommerce communities for their amazing tools and documentation.
Installation
Upload the plugin folder to /wp-content/plugins/ or install through Plugins
Add New.Activate Close Up Shop.
Visit Settings
Close Up Shop to add your closure periods and adjust the default message if desired.FAQ
-
How do I show the reopening time anywhere else on my site?
-
Use the [closeupshop_reopen_time] shortcode in posts, pages, widgets, or templates. It will output the next reopening date and time.
-
Can I set multiple closure periods?
-
Absolutely. Add as many periods as you need – they can even overlap. The plugin will pick the currently active period, or the nearest upcoming one if the shop is currently open.
-
What happens when a closure period ends?
-
As soon as the end time passes, the shop automatically reopens and customers can access your WooCommerce pages again without redirection.
-
Does the plugin respect WordPress time‑zone settings?
-
Yes. All scheduling uses the site time‑zone selected in Settings
General.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Close Up Shop” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Close Up Shop” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.4
Introduced [closeupshop_reopen_time] shortcode for real‑time reopening info (replaces former placeholder approach).
Rewrote admin Add / Remove row JavaScript; fixed Remove button not working due to missing type=” button” .
All date/time comparisons now use DateTimeImmutable in the site time‑zone for robustness.
Added nocache_headers() and DONOTCACHEPAGE constants to prevent cached “ Shop Closed” pages.
Code clean‑up, documentation refresh, version bump.
1.3
Re‑architected period‑selection logic (chooses latest ending active period or earliest upcoming).
Switched to short‑code driven message so reopening time updates without resaving settings.
Added helper utilities and improved sanitisation.
1.2
Initial public release after renaming project to Close Up Shop.