jfreak53 Posted July 20, 2012 Share Posted July 20, 2012 I just spent a bit looking through the Hooks documentation and didn't find anything, so I thought I would post here. I was looking for a way to disable new order's in the system, quick and easily and flipping a switch. I can't find one Any thoughts? I want to be able to disable new order's of any type just be turning it on or off really. 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted July 20, 2012 Share Posted July 20, 2012 You could use the ClientAreaPage hook which does get called before any of the order form pages are display and define a smarty variable to enable/disable new orders. Then on your order form templates check for the variable to either display the order form, product list, etc or display a message that ordering is closed. 0 Quote Link to comment Share on other sites More sharing options...
jfreak53 Posted July 21, 2012 Author Share Posted July 21, 2012 Awesome! Just what I was looking for! Thanks for the help. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.