{"id":169866,"date":"2024-01-19T08:00:00","date_gmt":"2024-01-19T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/super-light-store-hours\/"},"modified":"2025-10-20T11:47:00","modified_gmt":"2025-10-20T11:47:00","slug":"super-light-store-hours","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/super-light-store-hours\/","title":{"rendered":"Super Light Store Hours"},"content":{"rendered":"<p>The Super Light Store Hours WordPress plugin is your comprehensive solution for managing and displaying your store\u2019s 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\u2019s a versatile tool for store owners.<\/p>\n<h3>Features<\/h3>\n<p>1. Flexible Configuration:<\/p>\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<p>2. Override Store Status:<\/p>\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<p>3. Seamless WooCommerce Integration:<\/p>\n<ul>\n<li>Dynamically adjusts capabilities based on WooCommerce activation<\/li>\n<li>Intelligently manages \u201cAdd to Cart\u201d buttons based on store operating hours.<\/li>\n<\/ul>\n<p>4. Informative Store Closure Notices:<\/p>\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<p>5. Dynamic Language Localization:<\/p>\n<ul>\n<li>Declares text domain and languages directory for multilingual support.<\/li>\n<\/ul>\n<p>6. Reusable Store Closure Message:<\/p>\n<ul>\n<li>Utilizes a reusable and easily modifiable store closure message.<\/li>\n<\/ul>\n<h3>API Features<\/h3>\n<h3>RESTful API for Store Hours<\/h3>\n<ol>\n<li><strong>Endpoint:<\/strong><\/li>\n<\/ol>\n<ul>\n<li><code>GET \/wp-json\/slsh\/v1\/state<\/code><\/li>\n<\/ul>\n<p>2. <strong>Parameters:<\/strong><\/p>\n<ul>\n<li>None<\/li>\n<\/ul>\n<p>3. <strong>Response:<\/strong><\/p>\n<ul>\n<li>JSON object containing store condition status.<\/li>\n<li>Example:<\/li>\n<\/ul>\n<p><!-- end of the list --><\/p>\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<p>4. <strong>How to Use:<\/strong><\/p>\n<ul>\n<li>Make a GET request to the endpoint to retrieve the store\u2019s current operating condition.<\/li>\n<li>Use the provided information to dynamically adjust your application\u2019s behavior based on the store\u2019s status.<\/li>\n<\/ul>\n<h3>How to Use<\/h3>\n<ol>\n<li>Activate the Super Light Store Hours plugin and the WooCommerce plugin.<\/li>\n<li>Navigate to the \u201cStore Hours\u201d 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\u2019s operating hours for external applications or integrations.<\/li>\n<li>Ensure a seamless and informative experience for your customers based on your store\u2019s operating status.<\/li>\n<\/ol>\n<p>Enhance your WordPress and WooCommerce store management with the Super Light Store Hours plugin. Take control of your store\u2019s schedule, provide a better shopping experience, and seamlessly integrate operating hours into your applications. Download and install the plugin today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Disable your store during fixed hours of the week or whenever you wish to pause orders.<\/p>\n","protected":false},"author":65,"featured_media":331827,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Super Light Store Hours - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Disable your store during fixed hours of the week or whenever you wish to pause orders."},"footnotes":""},"categories":[1],"tags":[43351,5581,43096,6219,367],"class_list":["post-169866","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-closing","tag-hours","tag-opening","tag-schedule","tag-store"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/169866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=169866"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/169866\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/331827"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=169866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=169866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=169866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}