Jump to content

Add transfer domain to domainchecker


JelleG

Recommended Posts

Hi,

 

I want to add the option to transfer a domain when searching using the domain checker.

 

So when a domain is already registered, the user get the option to transfer the domain.

 

How can I add that option?

 

Do I need to use a url something like: cart.php?a=add&domain=transfer&sld={$searchResults.domainName}?

Link to comment
Share on other sites

Do I need to use a url something like: cart.php?a=add&domain=transfer&sld={$searchResults.domainName}?

close, what I would suggest as a basic solution would be to modify domainchecker-results.tpl and change line 7 from...

 

{$LANG.domainunavailable1} <strong>{$searchResults.domainName}</strong> {$LANG.domainunavailable2}

to...

 

{$LANG.domainunavailable1} <strong>{$searchResults.domainName}</strong> {$LANG.domainunavailable2}  <a href="cart.php?a=add&domain=transfer&sld={$sld}&tld={$tld}" class="btn btn-primary">{$LANG.domainstransfer} {$sld}{$tld}</a>

if you do that and search for a domain that exists, you should see something similar to...

 

E3Ds7V2.png

... pressing the button will send 'google.com' to the cart transfer page.

 

there would be other ways, e.g if you play with the bulk transfer page, you'll see that it has "add to cart" buttons for registered domains...

 

but the above should be a good starting point for you. :idea:

Link to comment
Share on other sites

Join the conversation

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

Guest
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