My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hey Diva,
Doesn't this thing work for Canada? Seems they are not in the "state" functions. I have a 150 Canadian customers to add.... where's my axe? I need to go chop on this code.
Another question... is there an easy way to resend the welcome letter?
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Anyone mentioned 1.5 in this thread? A thread search didn't turn it up. Wanting to make sure this sucker does not to be upgraded for 1.5 as I'm about to upgrade someone who wants to keep it.
The full-time Zen Cart Guru. WizTech4ZC.com
This mod is not yet updated for ZC1.50
FIXED not working for 1.5!
add customers.php change line 172
<form method="POST" enctype="multipart/form-data" action="' . $_SERVER['PHP_SELF'] . '">
<td class="formAreaTitle">' . CATEGORY_PERSONAL . '</td><input name="action2" type="hidden" value="add_complete" />
Also change line 8
$action = (isset($_GET['action2']) ? $_GET['action2']:false);
$error = false;
$processed = false;
$cInfo = array();
require_once('add_customers_backend.php');
//for single customer insert
if ($action2) {
$array = validate_customer();
$errors = $array['errors'];
$cInfo = $array['cInfo'];
if (count($errors) < 1) {
insert_customer();
$feedback[] = 'Customer inserted successfully';
}
}
//end of single customer insert
Works perfectly now!
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
This makes the mod work in ZC150. But as we know...making it work is only half the equation.
Is it also secure and PCI compliant?
Originally Posted by boozubay
FIXED not working for 1.5!
add customers.php change line 172
<form method="POST" enctype="multipart/form-data" action="' . $_SERVER['PHP_SELF'] . '">
<td class="formAreaTitle">' . CATEGORY_PERSONAL . '</td><input name="action2" type="hidden" value="add_complete" />
Also change line 8
$action = (isset($_GET['action2']) ? $_GET['action2']:false);
$error = false;
$processed = false;
$cInfo = array();
require_once('add_customers_backend.php');
//for single customer insert
if ($action2) {
$array = validate_customer();
$errors = $array['errors'];
$cInfo = $array['cInfo'];
if (count($errors) < 1) {
insert_customer();
$feedback[] = 'Customer inserted successfully';
}
}
//end of single customer insert
Works perfectly now!
Bookmarks