Add Customers from Admin (v1.5.0+)
This plugin is based on v1.08 of the Add Customers from Admin add-on developed for the 1.3.x versions of Zen Cart®, but this version (v2.0.0 and later) has been modified for Zen Cart v1.5.0 and later only. The following changes have been made to that code base: Moved all language-specific text to the language file. Note: Additional defines appear as English within the Czech language files. Added auto-install script for v1.5.0+ admin If the currently-selected Country has zones, a drop-down menu of associated zones is presented; otherwise, the admin user must enter a "State" value (if required). Updated the CSV help text to be more 'robust' Added basic validation for world telephone numbers Added preg_match validation for US, CA and GB postcodes User-selectable formatting for the Date of Birth fields All form-related variables (including action) are sent via POST Added form section to "Resend the Welcome E-Mail" BUGFIX: Missing check for required Company field BUGFIX: Incorrect check for minimum first-name length BUGFIX: Unspecified (i.e. empty) DOB accepted when the DOB is required BUGFIX: Non-zero "New Signup Gift Voucher Amount" resulted in a white-screen BUGFIX: Address records for countries that have zones were incorrectly created |
Version History
Add Customers from Admin (v1.5.0+) - Version: v3.0.0 | |||||||||||||
This release contains changes posted for issues #4 and #5 and now requires a minimum of Zen Cart 1.5.7 for its proper operation. GitHub repository: https://github.com/lat9/add_customers_from_admin |
|||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: 2.0.10 | |||||||||||||
Fixed" Parameter must be an array or an object that implements Countable" in admin/add_customers.php on line 110 (PHP 7.2 and above) Moved existing "require DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . 'gv_name.php';" code block to the beginning of english/add_customers.php so that it is before TEXT_GV_NAME and TEXT_GV_REDEEM are referenced as it was still logging 'undefined' warnings. |
|||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.9 | |||||||||||||
[*] BUGFIX: Labels for "Shipping Address" and "Newsletter Signup" weren't being displayed. | |||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.8 | |||||||||||||
[*] BUGFIX - Correct PHP error introduced in v2.0.7 [*] CHANGE - Additional field-handling based on ZC 1.5.5 create-account processing. |
|||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.7 | |||||||||||||
[*] Prevent issuance of PHP notify errors [*] Use zen_create_PADSS_password (should have been updated a while ago!) |
|||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.6 | |||||||||||||
[*] BUGFIX: Use /YOUR_ADMIN/includes/backups as the CSV file upload directory; it already has the correct permissions, based on the standard Zen Cart installation. | |||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.5 | |||||||||||||
[*] BUGFIX: Somewhere along the line, the DIR_FS_UPLOADS define got removed from the admin's configure.php file; if it's not defined, define it to point to /images/uploads. [*] BUGFIX: customers_group_pricing field was not included as a "bulk upload" column. |
|||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.4 | |||||||||||||
[*] BUGFIX: Single-customer addition was not honoring the setting in Configuration->Customer Details->Show Newsletter Checkbox for the Newsletter default setting. | |||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.3 | |||||||||||||
* Removed unused/unneeded file /YOUR_ADMIN/add_customers_formatting_csv.htm * BUGFIX: Imported CSV files created/saved using Unix/Macintosh line endings (\r only) were not properly handled. * BUGFIX: Added detection of empty or header-only imported files. |
|||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.2 | |||||||||||||
BUGFIX: Access denied error for any admin authorization level other than superuser. | |||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: V2.0.1 | |||||||||||||
* Updated for v1.5.1 to use zen_create_PADSS_password (if present) to create the added customer's password. If the function is not present, continues to use zen_create_random_value. Thanks to lhungil for pointing out the change requirement! * BUGFIX: Admin copy of email contained EMAIL_TEXT instead of the text. * BUGFIX: If the Postcode mininum value was set to 0 and the value was not supplied, the insert failed due to invalid postcode format. * BUGFIX: If a customer has already logged into the store, don't include them in the list to "Resend Welcome Email". Thanks to lhungil for pointing this out, too! |
|||||||||||||
|
|||||||||||||
Add Customers from Admin (v1.5.0+) - Version: v2.0.0 | |||||||||||||
|
|||||||||||||