Jump to content

Custom Product Link with I own domain selected


Recommended Posts

I know I can make a link for a particular hosting package that will auto-fill a domain by using this format: http://demo.whmcs.com/cart.php?a=add&pid=1&sld=google&tld=.com

I'd also like it though so that it auto-selects the radio button labeled: I will use my existing domain and update my nameservers

Currently, it keeps the register a domain radio button selected.

Link to comment
Share on other sites

12 hours ago, Resolved said:

I'd also like it though so that it auto-selects the radio button labeled: I will use my existing domain and update my nameservers

you can pass a domain option value in the url...

http://demo.whmcs.com/cart.php?a=add&pid=1&sld=google&tld=.com&domainoption=owndomain

assuming the sld & tld values are valid, then it should add the product to the cart, bypass the domain choice page and go straight to configureproduct... if you miss out the sld & tld from the url, or they're invalid, then they will arrive on the domain choice page, but with the use existing domain radio option selected.

Edited by brian!
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