View Full Version : Pick domain, then package?
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.
I agree but purchasing a package should be an option at that point don't you think?
of course. Ive already changed the order form to make it work that way instead of just being a standalone link at the beginning.
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
alexpappa
11-10-06, 05:55 AM
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>{$LANG.domainordernow} ({$orderlink})</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 :)
you will need an updated order.php file for this to work
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
alexpappa
11-13-06, 07:26 AM
Thank you MACscr and Matt,
I did manage to get it to work using this
<p align=center>{$LANG.domainordernow} (order.php?passdomain={$domain}&passext={$ext})</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
you just need to modify the domain only link to pass those variables as well
YodaCows
12-13-06, 05:35 PM
I tried using what alexpappa said but that didn't work.
How can I update order.php?
I really need this functionality.
Thanks
~YC
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.