MACscr Posted November 6, 2006 Share Posted November 6, 2006 I have been rolling this idea through my head and i cant think of how i can setup the order form so that a user can pick a domain first, then pick what package they want. That seems pretty normal to me when it comes to having quick search domain forms on the front page of websites,etc. Right now if you do the domain availability checker, you can only purchase a domain, but not then associate a package with it unless you backtrack in the ordering process. Anyone got any ideas on this? I think i could hack some things together to give this functionality, but to me, it should already be available. 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 7, 2006 Author Share Posted November 7, 2006 anyone? 0 Quote Link to comment Share on other sites More sharing options...
Roger Posted November 7, 2006 Share Posted November 7, 2006 I agree but purchasing a package should be an option at that point don't you think? 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 7, 2006 Author Share Posted November 7, 2006 of course. Ive already changed the order form to make it work that way instead of just being a standalone link at the beginning. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted November 7, 2006 WHMCS CEO Share Posted November 7, 2006 In the domainchecker.tpl file, just change the link on the Order Now text when a domain is available to be order.php?passdomain=domain&passext=ext That should do it. Matt 0 Quote Link to comment Share on other sites More sharing options...
alexpappa Posted November 10, 2006 Share Posted November 10, 2006 In the domainchecker.tpl file, just change the link on the Order Now text when a domain is available to be order.php?passdomain=domain&passext=ext That should do it. Matt I tried changing this <p align=center>[url="{$orderlink}"]{$LANG.domainordernow}[/url]</p> to this <p align=center><a href="order.php?passdomain=domain&passext=ext ">{$LANG.domainordernow}</a></p> And although it will now takes you to the page to select hosting plans it did not pass the domain name and extension information. I probably did it wrong. HA, obviously because it didn't work for me 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 10, 2006 Author Share Posted November 10, 2006 you will need an updated order.php file for this to work 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted November 10, 2006 WHMCS CEO Share Posted November 10, 2006 Yes, as MACscr says, you will need an updated order.php file as it currently requires the variables to be posted to the order page, not sent as get variables in the url. Matt 0 Quote Link to comment Share on other sites More sharing options...
alexpappa Posted November 13, 2006 Share Posted November 13, 2006 Thank you MACscr and Matt, I did manage to get it to work using this <p align=center>[url="order.php?passdomain={$domain}&passext={$ext}"]{$LANG.domainordernow}[/url]</p> The only thing I did notice is that if the customer chooses Order Domain Registration Only the domain name is not filled in. Having this feature like it is works for me, thanks again 0 Quote Link to comment Share on other sites More sharing options...
MACscr Posted November 13, 2006 Author Share Posted November 13, 2006 you just need to modify the domain only link to pass those variables as well 0 Quote Link to comment Share on other sites More sharing options...
YodaCows Posted December 13, 2006 Share Posted December 13, 2006 I tried using what alexpappa said but that didn't work. How can I update order.php? I really need this functionality. Thanks ~YC 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.