Forums / Addon Admin Tools / Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Views: 41,568

Results 101 to 120 of 152
19 Jan 2017, 12:41 PM
#101
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Chrissy Morris:

Hi,
I've just installed Add Customers From Admin version 1.5.0.
I'm adding customers details individually as and when a customer calls us.
Just wondering if there is a way to switch off the customer's e-mail address field so that it's not necessary to enter an e-mail address?
This would be handy for us as most of our customers who place an order over the 'phone do so because they are not familiar with using web sites and don't have an e-mail address.
Thanks in advance,
Christine
Chrissy, unfortunately it's the customer's email-address that Zen Cart uses to identify which customer you're dealing with.

Perhaps instead of using Add Customers from Admin to define those unique customer accounts, you could create an "order-taker" account that's associated with one of the store's email addresses.

That way, you'd change the bill-to and ship-to addresses for every order, but then you'd have an easy record of what orders were placed over the phone, too.

23 Jan 2017, 10:50 AM
#102
chrissy_morris avatar

chrissy_morris

New Zenner

Join Date:
Jun 2008
Posts:
13
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

lat9:

Chrissy, unfortunately it's the customer's email-address that Zen Cart uses to identify which customer you're dealing with.

Perhaps instead of using Add Customers from Admin to define those unique customer accounts, you could create an "order-taker" account that's associated with one of the store's email addresses.

That way, you'd change the bill-to and ship-to addresses for every order, but then you'd have an easy record of what orders were placed over the phone, too.

Many thanks for your reply.
I'll look into your suggestion.
Thanks again.

21 Dec 2017, 9:04 PM
#103
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Thank you for this great Plug-In
I am using 1.5.5e
How do I remove the duplicate Add Customer from the drop menu?
Attachment 17541

22 Dec 2017, 11:47 AM
#104
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

That's going to require some database surgery. You'll need to look in the admin_pages table, looking for entries with a menu_key value of customers. There's (somehow) a duplicate in there.

I'd be interested to know what values are present before you remove one!

23 Dec 2017, 10:45 PM
#105
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

lat9:

That's going to require some database surgery. You'll need to look in the admin_pages table, looking for entries with a menu_key value of customers. There's (somehow) a duplicate in there.

I'd be interested to know what values are present before you remove one!

So this is what I have in the database

Attachment 17546

So I just changed "customersAddCustomer"'s "Show On Menu" status to "N", column to the far right. That took the extra one off.

24 Dec 2017, 1:52 PM
#106
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

You must have installed ***Admin: New Customer ***at one point, that's where the additional menu item came from.

25 Dec 2017, 12:24 AM
#107
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

lat9:

You must have installed ***Admin: New Customer ***at one point, that's where the additional menu item came from.

Your correct, sort of.
I remembered after the fact that I was using a copy of the live database to get this new site setup.
The old site had this same issue so that is why it popped up with this fresh installation.....lol.
Probably 75% of most issues are always generated by the user.

1 Mar 2019, 9:29 PM
#108
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

wsworx:

Your correct, sort of.
I remembered after the fact that I was using a copy of the live database to get this new site setup.
The old site had this same issue so that is why it popped up with this fresh installation.....lol.
Probably 75% of most issues are always generated by the user.

Hi,

I have read the documentation and all the posts in the forum but still have a couple questions.

1:
I have a fresh install of 1.5.6a and during testing several accounts and orders have been created and deleted.
Will there be a conflict in the database Customer ID & Address ID sequence numbers if I delete all the customers and orders (except the Guest) in the new ZC 1.5.6a installation and then import 800+ customers from the ZC 1.5.1. installation?

2:
When doing the import I take it the script generates a new password which can then be emailed to the customer.
2a:
If I'm not mistaken during my testing when I copied the current 1.5.1 (35 character) encrypted password from the old account to the new account (Using PHP Admin) the first time the customer log into 1.5.6a it accepted the customers former password and converted it to the new ( 60 character) encryption.
So am I correct in saying when going from 1.5.1 to 1.5.6a there is now no need to deal with password resets if you also copy the password.
2b:
If that is correct it would be a nice feature to add and so some guidance on where to modify that in the script to not generate a new password but just copy the old one over would be appreciated.

3:
Several of these customers have multiple Bill to Addresses .
I'm assuming I will need to identify those customers and import those additional addresses into their address book(s).
I have done this in the past when creating new accounts for these persons but I was just wondering of ZC 1.5.6a treats the address book differently.

Many Thanks for your time!!!

1 Mar 2019, 10:04 PM
#109
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

linuxguy2:

Hi,

I have read the documentation and all the posts in the forum but still have a couple questions.

1:
I have a fresh install of 1.5.6a and during testing several accounts and orders have been created and deleted.
Will there be a conflict in the database Customer ID & Address ID sequence numbers if I delete all the customers and orders (except the Guest) in the new ZC 1.5.6a installation and then import 800+ customers from the ZC 1.5.1. installation?

2:
When doing the import I take it the script generates a new password which can then be emailed to the customer.
2a:
If I'm not mistaken during my testing when I copied the current 1.5.1 (35 character) encrypted password from the old account to the new account (Using PHP Admin) the first time the customer log into 1.5.6a it accepted the customers former password and converted it to the new ( 60 character) encryption.
So am I correct in saying when going from 1.5.1 to 1.5.6a there is now no need to deal with password resets if you also copy the password.
2b:
If that is correct it would be a nice feature to add and so some guidance on where to modify that in the script to not generate a new password but just copy the old one over would be appreciated.

3:
Several of these customers have multiple Bill to Addresses .
I'm assuming I will need to identify those customers and import those additional addresses into their address book(s).
I have done this in the past when creating new accounts for these persons but I was just wondering of ZC 1.5.6a treats the address book differently.

Many Thanks for your time!!!

Additional information desired:
I am using the "Additional Customer Fields" plugin.
customers_extrafield, customers_extrafield2, customers_extrafield3 and customers_extrafield4
Can I just add those entries to the code and the *.csv file and expect that info to be imported also?
if so a little guidance on where/how to add that to the script be greatly appreciated.

Thanks,

1 Mar 2019, 10:39 PM
#110
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

linuxguy2:

Additional information desired:
I am using the "Additional Customer Fields" plugin.
customers_extrafield, customers_extrafield2, customers_extrafield3 and customers_extrafield4
Can I just add those entries to the code and the *.csv file and expect that info to be imported also?
if so a little guidance on where/how to add that to the script be greatly appreciated.

Thanks,

Looks like I was WRONG about about 2a and 2b in my original post!!!

2 Mar 2019, 2:11 PM
#111
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

@linuxguy2, I'll need to review/update the plugin for continued support on Zen Cart 1.5.5 and later. Last time I touched it was 3 years ago, a millennium in Zen Cart time!

I'll post back here once I've had a chance to see how it "plays with" current Zen Cart versions.

2 Mar 2019, 4:12 PM
#112
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

lat9:

@linuxguy2, I'll need to review/update the plugin for continued support on Zen Cart 1.5.5 and later. Last time I touched it was 3 years ago, a millennium in Zen Cart time!

I'll post back here once I've had a chance to see how it "plays with" current Zen Cart versions.

Lat9

Yes 3 years is a long, long time :)

Because it's incorrect do you know how to get parts 2a and 2b removed from my post #108 and #109?

Thanks for your help.

2 Mar 2019, 4:28 PM
#113
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

linuxguy2:

Lat9

Yes 3 years is a long, long time :)

Because it's incorrect do you know how to get parts 2a and 2b removed from my post #108 and #109?

Thanks for your help.
Due to the way that the Zen Cart forums operate, you could send a PM to the moderators (e.g. swguy) to request that a posting be removed or modified.

10 Mar 2020, 4:40 PM
#114
nvales avatar

nvales

New Zenner

Join Date:
Feb 2020
Location:
NY
Posts:
3
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Hey Lat9,

I installed Add_customers_from_admin-2.0.9 on my ZC server recently. The admin copy of the welcome email that gets sent still includes EMAIL_TEXT instead of the email body. I see that you fixed it in version 2.0.1 but it looks like it's still happening... Anyway you could point me in the right direction as to fixing this? I know it was a few years ago.

Regards,
Nick

10 Mar 2020, 8:03 PM
#115
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,109
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

nvales:

Hey Lat9,

I installed Add_customers_from_admin-2.0.9 on my ZC server recently. The admin copy of the welcome email that gets sent still includes EMAIL_TEXT instead of the email body. I see that you fixed it in version 2.0.1 but it looks like it's still happening... Anyway you could point me in the right direction as to fixing this? I know it was a few years ago.

Regards,
Nick
Nick, I haven't had the chance to update this plugin for continued support under Zen Cart 1.5.6 and later. I'll put it on my list to check.

24 Sep 2021, 6:31 PM
#117
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

1.5.7c
PHP 7.5

I am working with "add_customers_from_admin-2.0.10" plugin.

On the backend page "Add Customers" I need the "Choose A Customer" dialog to be sorted so I can actually find a customer easily.
In the file "add_customers_backend.php", at line 642, I added "ORDER BY customers_lastname" but it is not working.
Can someone tell me how to get this sort to work?

function create_customer_drop_down() {
  global $db;
  $customers = array();
  $customers[] = array ( 'id' => '0', 'text' => TEXT_PLEASE_CHOOSE );
  
  $sql = "SELECT customers_id, customers_firstname, customers_lastname, customers_email_address FROM " . TABLE_CUSTOMERS . " ORDER BY customers_lastname";
  $customersRecords = $db->Execute($sql);
  
  while (!$customersRecords->EOF) {
    $customers[] = array('id' => $customersRecords->fields['customers_id'], 'text' => $customersRecords->fields['customers_firstname'] . ' ' . $customersRecords->fields['customers_lastname'] . ' (' . $customersRecords->fields['customers_email_address'] . ')');
    $customersRecords->MoveNext();
  }
  
  return $customers;
}

Thank You for your assistance with this.

25 Sep 2021, 12:53 AM
#118
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

wsworx:

1.5.7c
PHP 7.5

I am working with "add_customers_from_admin-2.0.10" plugin.

On the backend page "Add Customers" I need the "Choose A Customer" dialog to be sorted so I can actually find a customer easily.
In the file "add_customers_backend.php", at line 642, I added "ORDER BY customers_lastname" but it is not working.
Can someone tell me how to get this sort to work?

function create_customer_drop_down() {
global $db;
$customers = array();
$customers[] = array ( 'id' => '0', 'text' => TEXT_PLEASE_CHOOSE );

$sql = "SELECT customers_id, customers_firstname, customers_lastname, customers_email_address FROM " . TABLE_CUSTOMERS . " ORDER BY customers_lastname";
$customersRecords = $db->Execute($sql);

while (!$customersRecords->EOF) {
$customers[] = array('id' => $customersRecords->fields['customers_id'], 'text' => $customersRecords->fields['customers_firstname'] . ' ' . $customersRecords->fields['customers_lastname'] . ' (' . $customersRecords->fields['customers_email_address'] . ')');
$customersRecords->MoveNext();
}

return $customers;
}

> 
> Thank You for your assistance with this.

Never mind folks.
I now see that is actually sorting by last name.
If I want the last name to show first I have to rearrange the code accordingly.
5 Dec 2021, 11:11 AM
#119
rk123 avatar

rk123

New Zenner

Join Date:
Jan 2021
Posts:
32
Plugin Contributions:
0

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

Hi,
2 days ago I installed this plugin (Add customers from Admin 2.0).
Now today when I click on the send email link, I see only a blank page.
Why is it so?
How to correct it?
Attachment 19848

5 Dec 2021, 11:20 AM
#120
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,718
Plugin Contributions:
56

Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.