staher Posted May 27, 2010 Share Posted May 27, 2010 Hi, I am planning to offer free hosting accounts - These will be simple shared hosting plan. But I want this be limited to one free hosting account per customer. I looked everywhere, but could not find a way to do it. Also, this should be available as a product not a promotion where customers have to enter a promo code. The only difference than the normal product is, they can have only one of this product. Any pointers will be greatly appreciated. Thank you all 0 Quote Link to comment Share on other sites More sharing options...
staher Posted June 5, 2010 Author Share Posted June 5, 2010 Friendly bump. Any help will really be appreciated. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
PuttHost Posted June 5, 2010 Share Posted June 5, 2010 I'm quite interested in this too aswell. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Mark Posted June 13, 2010 Share Posted June 13, 2010 We just use a hook in the actiohhooks.php - pretty simple really. add_hook("PreShoppingCartCheckout",1,"checkaccount_prehostingsetup",""); and we check to see if client already has this package in tblhosting - if they have they are directed to an error page - saying they already have used their free package and directing them to the paid one. 0 Quote Link to comment Share on other sites More sharing options...
_Dudu_1533 Posted October 26, 2012 Share Posted October 26, 2012 http://forum.whmcs.com/showthread.php?41258-limit-one-product-per-customer&p=271998#post271998 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.