Jump to content
  • 0

Passing a Variable To Order Form


Justin L

Question

We've been testing the software and are very impressed.

 

Our product is heavily dependent on utilizing information we know about the customer to suggest a domain for them.

 

Is there any way to pass the domain to the order form so that they dont have to retype it?

 

for example, I would normally do something like:

 

$domain = $_POST['domain'];

 

<input type="text" name="sld[0]" size="40" value="<?php echo $domain ?>">

 

It looks like I can probably change this in the templates, but is there an example I can see before I gunk with it too much?

 

Other variables would be nice, but the domain would be the most important.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
  • WHMCS CEO

Hi,

 

Yes, you can do this. Take a look at the link used in the domainchecker.php file when an available domain is found to link to the order form. That should work for you.

 

Regards,

 

Matt

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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