Lightfaro Posted June 18, 2014 Share Posted June 18, 2014 Hello! I need to setup a hook to avoid my users to buy online a domain. A representative say this to me: http://docs.whmcs.com/Hooks:ShoppingCartValidateCheckout can be used to check the items in $_SESSION['cart'] and stop the checkout from occurring if only domains are in the cart. I've tryied, but I really don't know how to create and configure the hook. Somebody can help me please? Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Ryan Posted June 18, 2014 Share Posted June 18, 2014 Hello Lightfaro, I apologize but I am not sure I fully understand your question. Are you trying to prevent potential customers from buying only a domain name? Please confirm. --Thanks 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.