Make the website URL not required in the wholesale application
A few quick coding changes can allow a customer to ignore the website URL field when signing up as a wholesale vendor:
-
Open the wholesale.php file in the /enc/ folder.
-
Change every instance of req_website to site_website.
-
Change every instance of $req_website to $site_website.
-
change the line:
$websitearr = array('req_website'); // web site fields (allow a web site url)to:
$websitearr = array(''); // web site fields (allow a web site url) -
change:
$site_website = "http://";
to:
$site_website = "";