JelleG Posted December 21, 2015 Share Posted December 21, 2015 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}? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 21, 2015 Share Posted December 21, 2015 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... ... 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. 0 Quote Link to comment Share on other sites More sharing options...
JelleG Posted December 22, 2015 Author Share Posted December 22, 2015 Hi, I want to add the option to transfer a domain inside the domainchecker, when it is already registered. How can I achieve that? Is there a way to add a button, that directly puts the domain for transfer in the cart? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 22, 2015 Share Posted December 22, 2015 why start a new thread instead of asking in your previous one? http://forum.whmcs.com/showthread.php?109639-Add-transfer-domain-to-domainchecker 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.