Jump to content

Domain search integration


SamS1

Recommended Posts

Hi everyone,

Is it possible to get the domain search and transfer shown in the attached image on to one of our WordPress pages? This one is perfect since it passes the input to the search or transfer fields.

Thanks

domainsearch.jpg

 

Update: I got the integration code for 'domain ordering' integration from Whmcs and the 'search' button works ok. How can i add the transfer button like above and have it pass the info also. Thanks

Integration code now:

<form action="/cart.php?a=add&domain=register" method="post">
Find your Domain: <input type="text" name="query" size="20" />
<input type="submit" value="SEARCH" />
</form>

Edited by SamS1
Link to comment
Share on other sites

11 hours ago, SamS1 said:

Update: I got the integration code for 'domain ordering' integration from Whmcs and the 'search' button works ok. How can i add the transfer button like above and have it pass the info also.

if you're going to use the integration code, it would be along the lines of...

<form action="cart.php?a=add&domain=register" method="post">
Find your Domain: <input type="text" name="query" size="20" />
<input class="btn btn-success btn-sm" type="submit" value="Search" />
<input class="btn btn-info btn-sm" type="submit" formaction="cart.php?a=add&domain=transfer" value="Transfer">
</form> 

TN97jrg.png

depending on the relative location of the page where you are outputting this form, you might need to use the full URL to both the cart form links.

10 hours ago, SamS1 said:

Well there we go again 😉 All sorted. Just needs some styling but got it done. 

then it would have been useful for others to share your solution! 🙄

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