{"id":180104,"date":"2024-01-19T06:14:50","date_gmt":"2024-01-19T06:14:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/super-light-store-hours\/"},"modified":"2025-10-20T03:47:12","modified_gmt":"2025-10-20T03:47:12","slug":"super-light-store-hours","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/super-light-store-hours\/","author":15324683,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.0.2","stable_tag":"0.0.2","tested":"6.8.5","requires":"4.6","requires_php":"5.3","requires_plugins":null,"header_name":"Super Light Store Hours","header_author":"Mwale Kalenga","header_description":"Disable your store during fixed hours of the week or whenever you wish to pause orders.","assets_banners_color":"","last_updated":"2025-10-20 03:47:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/mwale.me","rating":0,"author_block_rating":0,"active_installs":0,"downloads":566,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":{"0.0.2":{"tag":"0.0.2","author":"mwalek","date":"2025-10-20 03:47:12"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[223830,1425,47263,4062,2653],"plugin_category":[40,45],"plugin_contributors":[179867],"plugin_business_model":[],"class_list":["post-180104","plugin","type-plugin","status-publish","hentry","plugin_tags-closing","plugin_tags-hours","plugin_tags-opening","plugin_tags-schedule","plugin_tags-store","plugin_category-calendar-and-events","plugin_category-ecommerce","plugin_contributors-mwalek","plugin_committers-mwalek"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/super-light-store-hours.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The Super Light Store Hours WordPress plugin is your comprehensive solution for managing and displaying your store's operating hours effortlessly. Tailored for both online and physical stores, this plugin offers a user-friendly interface to configure your schedule and enhance the customer experience. With seamless WooCommerce integration and powerful API features, it's a versatile tool for store owners.<\/p>\n\n<h3>Features<\/h3>\n\n<p>1&#046; Flexible Configuration:<\/p>\n\n<ul>\n<li>Set working days for your store to align with your business operation.<\/li>\n<li>Specify opening and closing times in a 24-hour format.<\/li>\n<\/ul>\n\n<p>2&#046; Override Store Status:<\/p>\n\n<ul>\n<li>Enable or disable your store with a simple toggle.<\/li>\n<li>Useful for special occasions, holidays, or unexpected closures.<\/li>\n<\/ul>\n\n<p>3&#046; Seamless WooCommerce Integration:<\/p>\n\n<ul>\n<li>Dynamically adjusts capabilities based on WooCommerce activation<\/li>\n<li>Intelligently manages \"Add to Cart\" buttons based on store operating hours.<\/li>\n<\/ul>\n\n<p>4&#046; Informative Store Closure Notices:<\/p>\n\n<ul>\n<li>Displays a visually appealing store closure notice during closed hours.<\/li>\n<li>Customized messages strategically placed to inform customers about the closure.<\/li>\n<\/ul>\n\n<p>5&#046; Dynamic Language Localization:<\/p>\n\n<ul>\n<li>Declares text domain and languages directory for multilingual support.<\/li>\n<\/ul>\n\n<p>6&#046; Reusable Store Closure Message:<\/p>\n\n<ul>\n<li>Utilizes a reusable and easily modifiable store closure message.<\/li>\n<\/ul>\n\n<h3>API Features<\/h3>\n\n<h3>RESTful API for Store Hours<\/h3>\n\n<ol>\n<li><strong>Endpoint:<\/strong><\/li>\n<\/ol>\n\n<ul>\n<li><code>GET \/wp-json\/slsh\/v1\/state<\/code><\/li>\n<\/ul>\n\n<p>2&#046; <strong>Parameters:<\/strong><\/p>\n\n<ul>\n<li>None<\/li>\n<\/ul>\n\n<p>3&#046; <strong>Response:<\/strong><\/p>\n\n<ul>\n<li>JSON object containing store condition status.<\/li>\n<li>Example:<\/li>\n<\/ul>\n\n<!-- end of the list -->\n\n<pre><code>{\n  \"working_days\": [\"Monday\", \"Wednesday\", \"Friday\"],\n  \"opening_closing_time\": \"09-18\",\n  \"override_status\": \"0\",\n  \"status\": \"1\"\n}\n<\/code><\/pre>\n\n<p>4&#046; <strong>How to Use:<\/strong><\/p>\n\n<ul>\n<li>Make a GET request to the endpoint to retrieve the store's current operating condition.<\/li>\n<li>Use the provided information to dynamically adjust your application's behavior based on the store's status.<\/li>\n<\/ul>\n\n<h3>How to Use<\/h3>\n\n<ol>\n<li>Activate the Super Light Store Hours plugin and the WooCommerce plugin.<\/li>\n<li>Navigate to the \"Store Hours\" section in the WordPress settings.<\/li>\n<li>Configure working days, opening and closing times, and the override status.<\/li>\n<li>Experience enhanced control over product page elements and customer interactions.<\/li>\n<li>Utilize provided code snippets for further customization and integration.<\/li>\n<li>Leverage the RESTful API to dynamically retrieve the store's operating hours for external applications or integrations.<\/li>\n<li>Ensure a seamless and informative experience for your customers based on your store's operating status.<\/li>\n<\/ol>\n\n<p>Enhance your WordPress and WooCommerce store management with the Super Light Store Hours plugin. Take control of your store's schedule, provide a better shopping experience, and seamlessly integrate operating hours into your applications. Download and install the plugin today!<\/p>","raw_excerpt":"Disable your store during fixed hours of the week or whenever you wish to pause orders.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/180104","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=180104"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mwalek"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=180104"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=180104"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=180104"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=180104"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=180104"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=180104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}