StuartJ Posted March 22, 2011 Share Posted March 22, 2011 i am looking at developing a site for a takaway shop my question is can you close your store daily say 11;30pm with a cron job ? and reopen again say 5;30pm with a cron job regardsStuart Link to comment Share on other sites More sharing options...
noesac Posted March 22, 2011 Share Posted March 22, 2011 I suppose you could write a script that inserts a value into the "Store enabled" field, and one that switches it, and have a cron job run then each of them at those times. There's probably a more elegant approach at it though Link to comment Share on other sites More sharing options...
ecoshop Posted May 3, 2011 Share Posted May 3, 2011 i am looking at developing a site for a takaway shop my question is can you close your store daily say 11;30pm with a cron job ? and reopen again say 5;30pm with a cron job regardsStuart StuartIn my opinion that would be a terrible idea. Why should you want to close the shop online. The only thing you have to do is simple state that any order made during those hours won´t be available for takeout until the openning time. PUT A HUGE BANNERGood luckGonzalo Link to comment Share on other sites More sharing options...
tomerg3 Posted May 3, 2011 Share Posted May 3, 2011 You can turn into a "catalog only" shop during off hours (you can create a simple php script which will update the configuration table (that's where the variable is set).This will prevent people from ordering during off hours, but they will still be able to browse the sites (and search engines will still be able to crawl it too) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now