midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/06/2020 : 09:49:28
Hey All,
Just noticed an issue when a customer tries to create a login profile while entering their "State".
The "State" defaults to "Alabama" every time and is then shown as "Undefined".
I created one myself with a known "Oregon" address and it defaults to "Alabama".
When an order comes through it shows the State as "Undefined".
Patrick
PHP v7.2.2.002
|
Vince
Administrator
42874 Posts |
Posted - 06/06/2020 : 12:04:57
|
Vince
Administrator
42874 Posts |
Posted - 06/06/2020 : 12:11:25
|
midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/06/2020 : 12:13:29
It's after a customer has created a login profile... email address and password.
Then they log in and go to Address Management and add their physical address.
It's on the clientlogin.php page.
If they create a profile during checkout it works fine.
Patrick
|
midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/06/2020 : 12:16:01
Ok.... I'll get that file and give it a try
Thanks
|
midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/06/2020 : 12:25:51
Hey Vince,
I applied the updated incclientlogin.php file and now it went from "Undefined" to "44"
I also went to the adminclientlog.php page to correct a prior customers address page and it won't accept the proper State. It still stays as "Undefined"
Patrick
|
Vince
Administrator
42874 Posts |
Posted - 06/07/2020 : 01:17:33
|
midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/07/2020 : 13:10:47
Hi Vince,
Email sent
Patrick
|
Vince
Administrator
42874 Posts |
Posted - 06/08/2020 : 01:21:47
|
midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/08/2020 : 14:46:35
Hi Vince,
I have another site "without" the address verification system and it does the same thing.
Feel free to create a new test login account: https://www(DOT)slixprings.com/clientlogin.php
Then click on "Address Management" and enter a name and address and submit it.
Then go back to verify the address you entered. It will show "undefined" as a State.
If a customer supplies their info in this fashion and then logs in to place an order the State shows "undefined"
If they place an order as normal without creating a login profile the State shows correctly.
Patrick PHP 7.2.2.002
Edited by - midvalleydrifter001 on 06/08/2020 14:47:20
|
midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/09/2020 : 08:55:12
Hi Vince,
I just replied to your latest email.
Patrick
|
Vince
Administrator
42874 Posts |
Posted - 06/09/2020 : 10:32:20
|
midvalleydrifter001
Ecommerce Template Expert
USA
936 Posts |
Posted - 06/09/2020 : 12:14:54
Thanks Vince.
It works fine now.
Appreciate the effort and great support.
Patrick
|
Vince
Administrator
42874 Posts |
Posted - 06/10/2020 : 01:37:26
|
ITZAP
Ecommerce Template Guru
Australia
1018 Posts |
Posted - 06/16/2020 : 20:07:58
Hi Vince ... it's me again  Running latest PHP v7.2.3.001, there is still a bug related to saving the "State" name. (1) Login to the Admin Panel and go Orders Admin ... Client Login ... List Results. (2) Modify any Client Login record and Edit Address. (3) Notice the "State" field says " Please Select ..." (4) Open that drop-down, select any State Name and Submit. (5) Now notice that State Name has not been saved and is displayed as " undefined". But if you return to: (1) Orders Admin ... Client Login ... List Results. (2) Find that same Client Login record and this time click the Login button. (3) On the front-end website, navigate to " clientlogin.php", and Edit Address. (4) Notice the "State" field says " Please Select ..." (5) Open that drop-down, select any State Name and Submit. (6) Update successful, this time the State Name was saved; all good. Gary 
|
Vince
Administrator
42874 Posts |
Posted - 06/17/2020 : 12:04:54
|
|
|