PDA

View Full Version : how can i add extensions to domain order form



ardge24
06-05-12, 11:51 AM
hi can anybody help me??

how can i add tlds / extensions to customer domain order form?? ex: on drop down they can choose .com .co.uk .org .net ect i am very new to this and require abit of help/advice as you can see

thanks

Strother
06-05-12, 03:34 PM
These pages have the basics to get you started:

http://docs.whmcs.com/Domains_Tab
http://docs.whmcs.com/Domain_Pricing

rashmi
08-20-12, 09:50 AM
hello,

I have gone through both the above links and I have added the price and TLD in setup->Product/Services->Product Pricing but still the tld(.com, in etc) are not shown in the dropdown box while placing the order. Kindly help

Thanks

EksoKen
08-21-12, 08:09 AM
Sample code could be taken from Utilities / Integration Code

<form action="http://yourdomain.com/domainchecker.php" method="post">
<input type="hidden" name="token" value="your value" />
<input type="hidden" name="direct" value="true" />
Domain: <input type="text" name="domain" size="20" /> <select name="ext">
<option>.com</option>
<option>.net</option>
<option>.org</option>
<option>.biz</option>
<option>.info</option>
</select>
<input type="submit" value="Go" />
</form>

FrancisKelly
09-28-12, 05:44 AM
Hi You can create by this way also :

$DomainMinLengthRestrictions[".asia"] = 3;
$DomainMaxLengthRestrictions[".asia"] = 64;
$DomainMinLengthRestrictions[".ws"] = 4;
$DomainMaxLengthRestrictions[".ws"] = 63;
$DomainRenewalGracePeriods[".com"] = "40";
$DomainRenewalMinimums[".co.uk"] = "180";
$DomainRenewalGracePeriods[".co.uk"] = "97";
$DomainRenewalGracePeriods = array(".com"=>"30",".net"=>"40",".uk"=>"97");
$DomainRenewalMinimums = array(".com"=>"180",".com.au"=>"90");


Default Values :

The existing grace periods pre-defined in WHMCS are:
.com = 30,.net = 30,.org = 30,.info = 15,.biz = 30,.mobi = 30,.name = 30,.asia = 30,.tel = 30,.in = 15,.mn = 30,
.bz = 30,.cc = 30,.tv = 30,.eu = 0,.co.uk = 97,.org.uk = 97,.me.uk = 97,.us = 30,.ws = 0,.me = 30,.cn = 30,
.nz = 0,.ca = 30
The minimum renewal periods are:
.co.uk = 180,.org.uk = 180,.me.uk = 180,.com.au = 90,.net.au = 90,.org.au = 90

sven31
10-25-12, 08:06 AM
WHMCS will use for domain only registrations ordered through the system...