Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 First name, last name in admin order screen
Author « Topic »  

1818charlie
ECT Moderator

United Kingdom
1177 Posts

Posted - 04/13/2021 :  11:24:23  
I've a client who is stating prior to the revamped website going live last week, when he created an order in the admin there was only one field for the name where now there are two. I can't find one but is there a switch to be able to set just one name field via the includes file?

Steve
Bolton Lancashire

dbdave
ECT Moderator

USA
10242 Posts

Posted - 04/13/2021 :  12:39:13  
Hi Steve, there sure is...

quote:
Split the first name and last name on checkout

If you would like to split the first name and last name on checkout add this

$usefirstlastname=TRUE;


David

1818charlie
ECT Moderator

United Kingdom
1177 Posts

Posted - 04/13/2021 :  12:44:22  
Hi Dave

Sadly that appears only to work on the customer facing checkout, not when manually creating an order in the admin.

Steve
Bolton Lancashire

dbdave
ECT Moderator

USA
10242 Posts

Posted - 04/13/2021 :  12:46:22  
It does work, because I use it..
Are you accessing the admin from a secondary admin?
If so, check that includes..

David

1818charlie
ECT Moderator

United Kingdom
1177 Posts

Posted - 04/13/2021 :  13:13:31  
Hi Dave,

No, there's no secondary admin & the login I use is the main site login. Setting $usefirstlastname to either true or false has no impact on the order creation screen in the admin, still first & last name fields show



UPDATE - I will check tomorrow with the store owner that he's not getting confused over seeing the company name, which is all one field & comes above the first & last name fields. I shall report back Wednesday

Steve
Bolton Lancashire

Edited by - 1818charlie on 04/13/2021 13:34:20

dbdave
ECT Moderator

USA
10242 Posts

Posted - 04/13/2021 :  18:52:57  
Hi Steve, you should check the includes for multiple entries of $usefirstlastname
I just checked my php test site and the names are indeed split.
I then check my includes and sure enough $usefirstlastname=TRUE; was set.

I commented out that line //$usefirstlastname=TRUE; and I get one line for first and last name as expected.

You might try commenting out the line, or remove all together and see what you get.

If it's still not working, maybe Vince has an idea...

Thanks,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.01 seconds. Snitz Forums 2000