Jump to content

Add domain to cart without additional search?


MACscr

Recommended Posts

I have my own domain availability script that is not currently integrated into whmcs, but I would like to be able to link the user to whmcs in order to purchase it. The problem is that if I use "cart.php?a=add&pid=1&sld=example&tld=.com" as have seen suggested by others, it pretty much checks availability again and has the user select the domain if they want to purchase it. They already did that step with my script. Any suggestions for remotely adding a domain to a users cart, but a little farther down the line in the purchase process so it doesnt have to be searched/selected again?

Link to comment
Share on other sites

Thanks. I completely forgot that obviously years would need to be picked before adding it to the card. Wonder if there is a way to just skip availability search then and go straight to the number of years pick page. lol

did it work with you?

in your customized code you can use hidden element to specify register period.

Link to comment
Share on other sites

  • 8 years later...

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