PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

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

8 replies to this topic
#1
fitgura

    PrestaShop Apprentice

  • Members
  • PipPip
  • 203 posts
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
fitgura

    PrestaShop Apprentice

  • Members
  • PipPip
  • 203 posts
Is there any idea????

please help
The road to success always Under Construction!

#3
fitgura

    PrestaShop Apprentice

  • Members
  • PipPip
  • 203 posts
please -please help me!!!!!!!!!!!!

I need to solve this!!!!

thank you
The road to success always Under Construction!

#4
fitgura

    PrestaShop Apprentice

  • Members
  • PipPip
  • 203 posts
nobody can help this issue????????????????

I'm really sad!!!!
The road to success always Under Construction!

#5
Bruno Lévêque

    PrestaShop Fanatic

  • PrestaTeam
  • 1085 posts
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,
Bruno LévêquePrestashop Co-founder (Co-fondateur)PrestaShop

#6
fitgura

    PrestaShop Apprentice

  • Members
  • PipPip
  • 203 posts
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???
The road to success always Under Construction!

#7
Bruno Lévêque

    PrestaShop Fanatic

  • PrestaTeam
  • 1085 posts
Yes, sorry there was two "\" missing, try again:

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

Bruno LévêquePrestashop Co-founder (Co-fondateur)PrestaShop

#8
fitgura

    PrestaShop Apprentice

  • Members
  • PipPip
  • 203 posts
thank you !!!

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

Thanks for the help!!!

and happy new year!!!!!!!
The road to success always Under Construction!

#9
fitgura

    PrestaShop Apprentice

  • Members
  • PipPip
  • 203 posts
Tan thanks so much again!!!

It works fine right now!!!!!
The road to success always Under Construction!