Jump to content

[SOLVED] BO customer detail on order - display full first name?


Recommended Posts

Hello,

 

is it possible to have the full first name and last name displayed in the order summary? For example, if the customer is Theodore Testman, it displays only T. Testman - how can I change that so it shows the entire name?

 

I guess it is a truncate function in the order tab, but I can't find it, nor which code to change. Any help?

 

Many thanks in advance!

 

Dan

Link to comment
Share on other sites

Hello,

 

is it possible to have the full first name and last name displayed in the order summary? For example, if the customer is Theodore Testman, it displays only T. Testman - how can I change that so it shows the entire name?

 

I guess it is a truncate function in the order tab, but I can't find it, nor which code to change. Any help?

 

Many thanks in advance!

 

Dan

 

Hi Dan

 

The file you require is in admin/tabs/AdminOrders.php

 

line you wish to alter is

 

CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`,

 

solution to change this to full name is to come.

 

THanks

  • Like 1
Link to comment
Share on other sites

That was bugging me too.

 

Thanks for the pointer. use this it will still let you search by first or lastname.

They should have there own fields thought :(

 

CONCAT((c.`firstname` ), \' \', c.`lastname`) AS `customer`,

 

 

NOw i just need to add a way to search by company name :)

 

Anyone got that code sitting around?

  • Like 2
Link to comment
Share on other sites

  • 5 years later...
  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...