New Zenner
- Join Date:
- May 2012
- Posts:
- 36
- Plugin Contributions:
- 0
Require Login for one EZ Page?
// bof: if company is "specific company" then customer authorization is approved; else pending
if ($company == "specific comany") {
$customers_authorization = 0;
}
else {
$customers_authorization = CUSTOMERS_APPROVAL_AUTHORIZATION;
}
// eof: if company is "specific company" then customer authorization is approved; else pending
Would this code in module - create_account.php work to automatically approve certain customers who input a specific "company" in the create account form? Just curious if this is the only file that needs to be touched. If it turns out that more files and custom coding has to be done, then my wife says she will just manually approve.
Just for reference, we don't normally use the company field, but if this works then we will use it as sort of a secondary password to automatically approve certain customers locally who are referred to us by business associates which would cut down on the approval time lag.