freefall123 Posted May 29, 2013 Share Posted May 29, 2013 Hello, I'm new to WHMCS, and i apologize if this is not the right place to post this question. i add a custom username and password fields in the ordering process but the custom fields variable cannot be referenced in the hooks, which checks if a user already exist in database. Any input would be appreciated.Thank you 0 Quote Link to comment Share on other sites More sharing options...
And then there was one les Posted May 30, 2013 Share Posted May 30, 2013 Open the template for the page you are trying to access it. Add {debug} and save it reload the page and you can see what variables exist, any of the variables can be accessed in a hook like this global $smarty; $varname = $smarty->_tpl_vars['varname']; If you password is there etc you can access it that way 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.