Jump to content

how can i add extensions to domain order form

Recommended Posts

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



Link to comment
Share on other sites

  • 2 months later...



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



Link to comment
Share on other sites

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">







<input type="submit" value="Go" />


Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated