IT WILL BE EVEN GREATER IF WE CAN PROMPT OR REDIRECT WHEN PERSON CLICK ON ADD TO CART WHEN STORE IS IN CLOSED HOURS.. Or even if we can change the wordings of Add to cart button while the store is closed
-
This reply was modified 5 years, 8 months ago by
jasmeetsingh.
In our latest version release 4.0.7, we added additional support for Guttenberg block support and hiding the add to cart buttons on select WooCommerce WordPress themes. This may resolve the issue and hide the add to cart for you depending on the theme you are using for your website.
If not, or if you have customized the add to cart buttons with other plugins, we’d recommend you use the function \Zhours\get_current_status() to check the store status. Using the function and understanding the store status, this will allow you to create your own actions on how to handle the add to cart button, either by hiding, redirecting or changing button text based upon your theme or other plugins being used for the website.
Thanks for the response. I anyhow got that working with simple CSS and ur class which this plugin includes in body tag. Managed to put a different caption in place of a button when store is closed. Thanks for you response. 🙂
Great news! Very happy to hear you found a solution for your website. Thanks for the follow-up and letting us know. 🙂
Thanks for the nice plugin…
Btw if you can add couple of functionality in the plugin like. Adding custom text when store is closed and when clicked on that button person gets a popup with store timings.
This will really make this plugin a one-stop solution for store closed functionality searchers.
And I a sure it’s a simple thing for your team.. 🙂
Thanks for sharing the feature feedback. We have added a Widget add-on to the plugin to support a pop-up of the store hours and overlay showing the store status with a countdown. If you are interested, you can explore the add-on here on our website: https://www.bizswoop.com/wp/orderhours/widget/. or under the tab Add-ons, you can also click to view the details.
Ohkay, that’s an interesting option you are providing.
Anyways I myself as a developer managed to get things working for my client for now. Let’s see if they have any other requirement which I feel is solvable from this plugin I will connect back. 🙂
Once again thanks for your prompt replies.