PrestaShop Forums: [Solved] customer firstname on admin orders tab too short!! - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


[Solved] customer firstname on admin orders tab too short!!


[Solved] customer firstname on admin orders tab too short!!

#1 fitgura

    PrestaShop Apprentice

  • 07 Sep 2009
  • Members
  • PipPip
  • 183 posts

Posted 22 December 2009 - 07:05 PM

Hello preta users!!!

I have a little problem, what I can't solve alone, if anybody can please help me!!!

So in the admin panel, when we click on ORDERS tab, the software shows the recent orders colored by the order status....

in this list the customers first names just show the first letter of it (ex: P. Johnson) but I could need to see the whole name (ex: PETER Johnson)

what could be the solution to change the short to ful int he list??????????

I checked the AdminOrders.php but I didn't find it!

Please help me!!

And I wish all of the presta fans a Merry Christmas

:)
The road to success always Under Construction!

#2

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 23 December 2009 - 08:35 AM

Is there any idea????

please help

#3

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 28 December 2009 - 08:48 PM

please -please help me!!!!!!!!!!!!

I need to solve this!!!!

thank you

#4

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 02 January 2010 - 09:02 AM

nobody can help this issue????????????????

I'm really sad!!!!

#5

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 02 January 2010 - 09:07 AM

Hi,

On line 28 in admin/tabs/AdminOrders.php, replace:

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


by

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


Best regards,

#6

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 02 January 2010 - 09:23 AM

Hi Bruno!!!!

I used ps 1.1.0.5 version and the marked line is in 24 in my revision........

I changed it as you say but the orders tab just simpy disappearing!!!!!!!

can you help me why is it???

#7

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 02 January 2010 - 09:31 AM

Yes, sorry there was two "\" missing, try again:

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


#8

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 02 January 2010 - 09:35 AM

thank you !!!

I solved it by enable to show 15 characters not just one!!!

Thanks for the help!!!

and happy new year!!!!!!!

#9

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 02 January 2010 - 11:05 AM

Tan thanks so much again!!!

It works fine right now!!!!!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users