If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Admin New Customer [Support Thread]

Admin New Customer [Support Thread]

Started by lhungil on 28 Aug 2012, 8:24 PM · Views: 13,969

Results 21 to 35 of 35
1 Dec 2014, 9:14 PM
#21
wsworx avatar

wsworx

Zen Follower

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

Admin New Customer [Support Thread]

n3qnj:

Hi, everyone. I'm a brand noob user of Zen Cart. I'm trying to see if this software can be a solution for a customer of mine. I think it can with this plug in and a couple of others.

I have Zen Cart 1.5.3 installed. This plugin looks like it will do what I need to do, but it doesn't mention 1.5.3. It stops at 1.5.1. As I said I'm not too familiar with Zen Cart so it could be that 1.5.1 and 1.5.3 and practically identical except for small changes, but I don't know for sure.

Can anyone tell me if this plug in is compatible with ZC 1.5.3? If so are there any mods that I need to worry about?

Thanks so much.

Mark

I have it loaded in 1.5.3 but I am having a problem with the state text box.
I get the following error message no matter what I do


Message from webpage

Errors have occurred during the processing of your form!
Please make the following corrections:

  • Your State must contain a minimum of 2 characters.

OK

3 Dec 2014, 10:21 PM
#22
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Admin New Customer [Support Thread]

@wsworx

Have any modifications been made to the customer facing "create account" process (such as COWOA, FEAC, etc)?
Please provide the contents of any debug logs (use a code block - the # in the editor).
Please post the settings for "admin"->"configuration"->"customer details".

I've got version 1.4 of this module installed and working under 1.5.1, 1.5.2, and 1.5.3.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

27 Apr 2015, 4:48 PM
#23
nelaweb avatar

nelaweb

New Zenner

Join Date:
Apr 2015
Location:
United States
Posts:
4
Plugin Contributions:
0

Re: Admin New Customer [Support Thread]

Zen Cart 1.5.4 upgraded from 1.5.3 in February 2015 via official upgrade procedure with FTP and zc_install.
PHP 5.4.28, MySQL 5.5.42-cll

First time install of latest versions of Admin New Customer, Edit Orders, Admin New Orders in exactly that order. These are the only plug-ins installed.

FYI When I installed Admin New Customer the admin_new_customer_3\1_affected_files_151\includes\functions\password_funcs.php broke the admin login page in that it wouldn't accept any passwords so I had to revert to "clean" 1.5.4 version. --> I'm still testing the functionality of the plug-in, but will an update soon be available?

27 Apr 2015, 8:14 PM
#24
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Admin New Customer [Support Thread]

nelaweb:

... FYI When I installed Admin New Customer the admin_new_customer_3\1_affected_files_151\includes\functions\password_funcs.php broke the admin login page in that it wouldn't accept any passwords so I had to revert to "clean" 1.5.4 version. --> I'm still testing the functionality of the plug-in, but will an update soon be available?
If one is running a newer version of Zen Cart, one cannot just "overwrite" core Zen Cart files with those found in "1_affected_files_151". Instead one will need to manually merge applicable changes.

Specifically for this module under Zen Cart 1.5.4:

  • There is no need to modify "/includes/functions/password_funcs.php" unless one has altered the default Zen Cart constant "DIR_WS_INCLUDES". If this has been altered, line #134 should be updated to reflect the correct path.
  • The Zen Cart file "/admin/customer.php" will need to have the code for the "insert button" manually merged.
  • There is no need to modify "/admin/includes/languages/english.php". The changes in this file were a preference (more friendly / verbose admin messages). Future versions will not include these changes. However, one can start with the stock Zen Cart 1.5.4 version of this file and modify the language phrases as desired.
  • The Zen Cart file "/admin/includes/functions/html_output.php" will need to be manually merged. In particular the functions "zen_js_zone_list" and "zen_js_billing_zone_list". Future version will not include these changes (the functionality will be integrated into "/admin/new_customer.php").

While there are plans for at least one more release of this module, there is no ETA at this time (the current version works as long as the affected files are manually merged).

I do plan to eventually collaborate with the author of Add Customers from Admin. Mainly to add the "insert" button functionality of this module and split the CSV upload into another admin page to allow greater access control. You may want to look into Add Customers from Admin, last I checked (about a year ago) it worked well with both Edit Orders and Admin New Order.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

10 Nov 2015, 11:15 PM
#25
gigi3 avatar

gigi3

New Zenner

Join Date:
Oct 2015
Location:
BC, Canada
Posts:
41
Plugin Contributions:
0

Re: Admin New Customer [Support Thread]

ZC v1.51
Edit Orders
Admin New Customer
Admin New Order

Hi there,
I'm having a very strange issue come up when adding new customers.
Once I add the new customer from the admin, and return to the 'edit' screen, the birthday that was entered when created changes to 11/30/2036 . Once edited to 'fix' it, it will stay as the new, edited date.

I have had no luck searching the forums. Any help would be greatly appreciated.

11 Nov 2015, 5:25 PM
#26
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Admin New Customer [Support Thread]

What format are you using to enter the DOB?

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

17 Nov 2015, 12:41 AM
#27
lucidlee avatar

lucidlee

Zen Follower

Join Date:
Aug 2005
Location:
Bondi, Australia
Posts:
101
Plugin Contributions:
0

Re: Admin New Customer [Support Thread]

I'm having trouble getting v1.4 from the zencart downloads site. It only delivers a package that looks like v1.3 - all the documentation refers only to 1.3.

Have I missed something? Is there another place to acquire it - github maybe?

The Fifth Element
Our Zen-Cart sells Zen Charts!!

17 Nov 2015, 9:49 PM
#28
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Admin New Customer [Support Thread]

saharmohamedali:

Once I add the new customer from the admin, and return to the 'edit' screen, the birthday that was entered when created changes to 11/30/2036 . Once edited to 'fix' it, it will stay as the new, edited date.
What format are you using to enter the DOB? I need to know what exactly is being entered.

What version of PHP is being used on the server? Please provide what Zen Cart reports in the admin under "version".

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

17 Nov 2015, 9:52 PM
#29
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Admin New Customer [Support Thread]

lucidlee:

I'm having trouble getting v1.4 from the zencart downloads site. It only delivers a package that looks like v1.3 - all the documentation refers only to 1.3. ...
It is the latest public release, please ignore the version numbers in the readme.

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

21 Nov 2015, 12:53 AM
#30
gigi3 avatar

gigi3

New Zenner

Join Date:
Oct 2015
Location:
BC, Canada
Posts:
41
Plugin Contributions:
0

Re: Admin New Customer [Support Thread]

Sorry, I dropped the ball, here. For me, the following info applies:

DOB format: (eg. 05/21/1970) this is the exact example given in new_customer.php

PHP version: 5.2.17

Thanks!

21 Nov 2015, 1:43 AM
#31
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

Re: Admin New Customer [Support Thread]

Can you try editing "/your-secret-admin/new_customer.php"; Add the changes in red (around line 299):

			$sql_data_array = array(
				'customers_gender' => $cInfo->customers_gender,
				'customers_firstname' => $cInfo->customers_firstname,
				'customers_lastname' => $cInfo->customers_lastname,
				'customers_dob' => [B]zen_date_raw([/B]$cInfo->customers_dob[B])[/B],
				'customers_email_address' => $cInfo->customers_email_address,
				'customers_telephone' => $cInfo->customers_telephone,
				'customers_fax' => $cInfo->customers_fax,
				'customers_newsletter' => $cInfo->customers_newsletter,
				'customers_email_format' => $cInfo->customers_email_format,
				'customers_default_address_id' => $cInfo->customers_default_address_id,
				'customers_password' => $cInfo->customers_password,
				'customers_group_pricing' => $cInfo->customers_group_pricing,
				'customers_authorization' => $cInfo->customers_authorization,
				'customers_referral' => $cInfo->customers_referral
			);

This fix was previously posted by christamcc. Let me know if this solves the problem in your environment.

NOTE: PHP 5.2.x reached end-of-life on 6 Jan 2011. It has not received bug or security fixes since. I would strongly urge any store owner to keep Zen Cart up to date (version 1.5.4 currently) and make sure the hosting provider stays up to date as well (PHP 5.5 is the oldest version currently supported - see PHP end-of-life).

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

30 Nov 2015, 11:06 AM
#32
swguy avatar

swguy

Administrator

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

Re: Admin New Customer [Support Thread]

Please update this mod with the new copy of includes/functions/html_output.php from the November 2015 patches
https://www.zen-cart.com/showthread.php?218914-Security-Patches-for-v1-5-4-November-2015

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.

3 Jan 2016, 12:38 AM
#33
gigi3 avatar

gigi3

New Zenner

Join Date:
Oct 2015
Location:
BC, Canada
Posts:
41
Plugin Contributions:
0

Re: Admin New Customer [Support Thread]

Hi lhungil

That worked! Thank you so much!

(I know....a month and a half later, right? Better late, than never!)

3 Jun 2016, 12:02 PM
#34
bbsbcastle avatar

bbsbcastle

New Zenner

Join Date:
Aug 2009
Location:
Greeneville, TN USA
Posts:
55
Plugin Contributions:
0

Re: Admin New Customer [Support Thread]

We're updating a site to v1.5.5a, and we need to update this plugin. However, it only has compatibility to v1.5.1 listed.

Any timeline on a v1.5.5+ release? Pointers on making it work with the newer version?

4 Nov 2016, 5:20 AM
#35
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Admin New Customer [Support Thread]

I've got this working on 1.54 with some simple updates to present the new customer password in admin after the account is successfully created... the password data was there the entire time!

So now it works as a starting point for admins to setup, provide customer login information without giving them the 'forgot password' runaround **and **it co-operates with Admin Log in as Customer seamlessly for anyone using Twitch POS for in-person/phone sales.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian