If you have a website catering to several other
products/services (than those offered by MGR Trading Co.) and wish to target Customers/Sub-Resellers from your website
itself (rather than using your SuperSite as your website), then you may want to
include the following domain registration forms on your website:
Integrating
Domain Name Check Availability form on your website with the SuperSite
The steps for buying a New Domain Name are as
follows:
1. Checking Domain Availability
2. Filling the Domain Order Form
3. Payment Process
4. Actual Registration
Of these steps, you can choose to have the
Check Availability box at your end on your website. In order to directly link to the Check
Availability page on your SuperSite, use the link below -
http://<#SuperSite URL#>/domain.php
This will bring up the Check Availability box
from where any of your Customers can start placing an order for a Domain Name.
If, however, you wish to have the Check
Availability box on your server as a part of your website, you can use the Check Availability form
given below.
<form name=lookup
method="post" action="http://<#SuperSite URL#>/domain.php?goto=metarefresh&formaction=domain.php">
<input type="hidden" name="action" value="check_availability">
<input type="hidden"
name="showrelated" value="true">
<tr>
<td colspan="4" rowspan="3">
<input name="txtDomainName" type="text" class="inputbox" size="22" maxlength="55">
<b>.</b>
<select name="tld[]">
<option value="com" selected>com</option>
<option value="net">net</option>
<option value="org">org</option>
<option value="biz">biz</option>
<option value="name">name</option>
<option value="us">us</option>
<option value="info">info</option>
<option value="in">in</option>
<option value="co.in">co.in</option>
<option value="net.in">net.in</option>
<option value="org.in">org.in</option>
<option value="firm.in">firm.in</option>
<option value="gen.in">gen.in</option>
<option value="ind.in">ind.in</option>
<option value="eu">eu</option>
<option value="mobi">.mobi</option>
<option value="mn">.mn</option>
<option value="bz">.bz</option>
<option value="cc">.cc</option>
<option value="tv">.tv</option>
<option value="eu.com">eu.com</option>
<option value="gb.com">gb.com</option>
<option value="ae.org">ae.org</option>
<option value="kr.com">kr.com</option>
<option value="us.com">us.com</option>
<option value="qc.com">qc.com</option>
<option value="de.com">de.com</option>
<option value="gb.net">gb.net</option>
<option value="no.com">no.com</option>
<option value="hu.com">hu.com</option>
<option value="jpn.com">jpn.com</option>
<option value="uy.com">uy.com</option>
<option value="za.com">za.com</option>
<option value="br.com">br.com</option>
<option value="cn.com">cn.com</option>
<option value="sa.com">sa.com</option>
<option value="se.com">se.com</option>
<option value="se.net">se.net</option>
<option value="uk.com">uk.com</option>
<option value="uk.net">uk.net</option>
<option value="ru.com">ru.com</option>
<option value="ws">ws</option>
<option value="co.uk">co.uk</option>
<option value="org.uk">org.uk</option>
<option value="me.uk">me.uk</option>
</select>
</td>
<td><input type="submit"></td>
</tr>
</form>
Replace <#SuperSite URL#>
with your Branded SuperSite URL, which you can find at Settings -> SuperSite &
PartnerSite -> URL, in your Reseller Control Panel.
IMPORTANT
The code listed in red in the above form is
optional. Setting the value for the showrelated variable to true
will display availability of the same Domain Name under other extensions. By
default (without the code being used), the value is set to true. You
may choose not to display this information by setting the value to false.
However, it is advised that the value be set to true so that your
SuperSite presents more buying options to the user.
Other attributes that can be used are -
- shownotavail - indicates non-available
Domain Names
- showinvalid - indicates invalid
Domain Names
- showunknown - displays
the check availability status for a Domain Name as unknown in case connection to the
corresponding Registry could not be established
It is advised that the value for these
variables be set to true so that proper messages are displayed to the user.
Integrating
Domain Name Transfer form on your website with the SuperSite
You may use the example form provided below, to
integrate the Domain Name transfer functionality of your SuperSite, with your
website:
<form method="POST" action="http://<#SuperSite URL#>/domain.php"
name="transferdomain">
<input type="hidden" name="action" value="domain_transfer_summary">
<input type="hidden" name="nextstep" value="true">
<input type="hidden" name="dom_action" value="transfer">
<table border="0" cellpadding="0" cellspacing="0" class="dataTable">
<tr>
<td width="30%" class="frmLabel"><label for="Domain Name Transfer">Domain
Name</label></td>
<td width="2%" class="required">*</td>
<td><INPUT TYPE="text" NAME="domainname" SIZE=22 value="">
<select name="tlds">
<option value="com">com</option>
<option value="net">net</option>
<option value="org">org</option>
<option value="biz">biz</option>
<option value="name">name</option>
<option value="us">us</option>
<option value="info">info</option>
<option value="in">in</option>
<option value="co.in">co.in</option>
<option value="net.in">net.in</option>
<option value="org.in">org.in</option>
<option value="firm.in">firm.in</option>
<option value="gen.in">gen.in</option>
<option value="ind.in">ind.in</option>
<option value="eu">eu</option>
<option value="mobi">.mobi</option>
<option value="mn">.mn</option>
<option value="bz">.bz</option>
<option value="cc">.cc</option>
<option value="tv">.tv</option>
<option value="eu.com">eu.com</option>
<option value="gb.com">gb.com</option>
<option value="ae.org">ae.org</option>
<option value="kr.com">kr.com</option>
<option value="us.com">us.com</option>
<option value="qc.com">qc.com</option>
<option value="de.com">de.com</option>
<option value="gb.net">gb.net</option>
<option value="no.com">no.com</option>
<option value="hu.com">hu.com</option>
<option value="jpn.com">jpn.com</option>
<option value="uy.com">uy.com</option>
<option value="za.com">za.com</option>
<option value="br.com">br.com</option>
<option value="cn.com">cn.com</option>
<option value="sa.com">sa.com</option>
<option value="se.com">se.com</option>
<option value="se.net">se.net</option>
<option value="uk.com">uk.com</option>
<option value="uk.net">uk.net</option>
<option value="ru.com">ru.com</option>
</select>
</select>
</td>
</tr>
<tr>
<td width="30%" class="frmLabel"><label for="Transfer Auth">Transfer Auth
Code</label></td>
<td width="1%" class="required"></td>
<td colspan="2"><INPUT TYPE="text" NAME="secretname"></td>
</tr>
<tr>
<td class="frmLabel"> </td>
<td class="required"> </td>
<td colspan="2">
<ul>
<li><font size="2">Also known as: "Transfer Secret" or "EPP Auth Code."
</font> </li>
<li><font size="2">This is not needed for a .EU Domain
Name.</font></li>
<li><font size="2">In case of a .CC/.TV Domain Name, you may provide a
Transfer Secret/Authorization Code if the Domain Name has a Transfer
Secret/Authorization Code set at the Current Registrar. Otherwise, you can
leave the Transfer
Auth Code field blank.</font></li>
</ul>
</td>
</tr>
<tr>
<td colspan="4" align="center">
<input name="transfer" type="submit" value="Transfer">
</td>
<tr>
</table>
</form>
Replace <#SuperSite URL#>
with your Branded SuperSite URL, which you can find at Settings -> SuperSite &
PartnerSite -> URL, in your Reseller Control Panel.