विवरण
The “Close Up Shop” plugin lets store owners define multiple closure periods for their WooCommerce shop. When the shop is closed, visitors are redirected to a “Shop Closed” page displaying a custom message along with the dynamic reopening time from the active closure period (or, if none is active, the upcoming period with the earliest start time or the one with the latest future end time). The plugin “bakes in” the reopening time into the Shop Closed page’s content upon saving settings, ensuring that the reopening time reflects the current schedule at the moment of save. It respects WordPress’s time zone settings and flushes caches to ensure immediate updates.
Key Features:
- Automatically creates a “Shop Closed” page upon activation.
- Admin interface to configure multiple shop closure periods.
- Bakes in the active (or upcoming) reopening time into the Shop Closed page when settings are saved.
- Redirects visitors from WooCommerce pages (cart, checkout, product, account, and shop) when the shop is closed.
- Flushes caches to ensure immediate updates.
- Uses WordPress time zone settings for accurate scheduling.
Short Description
Automatically redirects visitors to a “Shop Closed” page during closure periods and dynamically displays the reopening time based on multiple defined schedules.
Support
For any issues or feature requests, please visit the plugin’s support forum or contact the plugin author.
Acknowledgments
Special thanks to the WordPress and WooCommerce communities for their contributions to the open-source ecosystem.
इंस्टॉलेशन
- Download the
close-up-shop.php
file and place it into the/wp-content/plugins/
directory. - Go to your WordPress Admin Dashboard.
- Navigate to Plugins > Installed Plugins.
- Find Close Up Shop and click Activate.
- Configure your closure periods via the Close Up Shop submenu under Settings.
सामान्य प्रश्न
-
How do I set the shop’s open/close times?
-
After activation, go to the Close Up Shop submenu under the Settings menu in the admin dashboard. You can add multiple closure periods by entering start and end dates and times. The plugin will update the Shop Closed page with the reopening time based on your defined periods.
-
What happens when the shop is closed?
-
When the shop is closed, visitors attempting to access WooCommerce pages (cart, checkout, product, account, or shop) are redirected to the “Shop Closed” page, which displays a custom message along with the dynamically updated reopening time.
-
Can I set multiple closure periods?
-
Yes. You can define as many closure periods as needed. If multiple periods are defined, the reopening time from the period with the latest end time (or the appropriate upcoming period) will be used.
-
Does the plugin respect WordPress time zone settings?
-
Yes, the plugin uses the time zone settings from your WordPress General Settings for accurate scheduling.
समीक्षाएं
इस प्लगइन के लिए कोई समीक्षा नहीं है।
सहायक &डेवलपर्स
Translate “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.
बदलाव विवरण
1.2
- Renamed the plugin to “Close Up Shop” and updated all function and option prefixes for uniqueness.
- Added the settings page as a submenu under the core Settings menu.
- Bakes in the reopening time into the Shop Closed page’s content on settings save.
- Modified the algorithm to choose the closure period based on active status or upcoming times.
- Fixed various output, sanitization, and caching issues.
- Replaced deprecated functions with get_posts based alternatives.