Hello Prestashop users!
I need the name of the customers to be fully shown in Orders tab (not like J. Doe, but like John Doe). I know that they are shown in full in Customers tab, but I need to see them in Orders tab as well. The problem is the first name of the client is shortened. And I need to see it complete in Orders tab.
Is there a solution for this problem?
Any help will be highly appreciated.
Thanks in advance.
Vitamina A - Despre vitamine
Be watching to see if you get a reply to this one, as it's something I would use.
I know absolutely nothing about php, but I'm not frightened to have a go at messing around with the files - and I did manage to create the two first name and last name columns in Orders. Not much good as there were no names on the lists :bug: !!!
If me who knows nothing can do that, then I'm sure that pulling the first and last names into the columns is really dead easy to do
:)
I know absolutely nothing about php, but I'm not frightened to have a go at messing around with the files - and I did manage to create the two first name and last name columns in Orders. Not much good as there were no names on the lists :bug: !!!
If me who knows nothing can do that, then I'm sure that pulling the first and last names into the columns is really dead easy to do
:)
You need to modify line 28 of admin/tabs/AdminOrders.php. Change:
to:
CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`,
to:
CONCAT(c.`firstname`, \' \', c.`lastname`) AS `customer`,
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.
Hello there!
Thanks a lot for your solution !
It works like a charm !
Big thanks again !
Thanks a lot for your solution !
It works like a charm !
Big thanks again !
Vitamina A - Despre vitamine
I doubt it will. This hasn't been posted as a feature request.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.



Back to top








