dotcom22 Posted February 18, 2009 Share Posted February 18, 2009 Hi I would like my customer be able to only order product/hosting with only 1 domain (free) for his package no more... In fact if using domainchecker.php customer can choose only domain without product...so well I can customize template and delete domainchecker.php link..no problem... But if I do that I can not put on my primary website domainchecker form for attract user to first try to see if his domain is available before ordering a product.... It is to bad because when domainchecker.php process start the link "No Hosting! Click to Add" are displayed and this is well...but if user don't click on this link and just click on "update cart" button the process continue and user can order domain without product.... So my question: How can I do for avoid this ? Maybe I can delete "update cart" button for force user to click on link "No Hosting! Click to Add" ??? It is insecure to do this ? any other suggestion ?? thanks 0 Quote Link to comment Share on other sites More sharing options...
rockface Posted July 4, 2012 Share Posted July 4, 2012 Finally got this working on my site (brighterhost.com) 1. Edit templates/orderforms/[see WHMCS/Setup/General/Ordering]/configuredomains.tpl 2. Go down to the bottom and comment out (or delete) the <input> button 3. Replace it with <input type="button" value="{$LANG.updatecart}" onclick="window.location='cart.php'" /> The old button would take the user directly to the shopping cart view, this method directs them to the page to pick a hosting package. Depending on your "Default Order Form Template", this may need to change. Good luck! 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.