Jump to content

Abbreviated name in Orders - Backoffice


Pau111111

Recommended Posts

Hello Prestashopers,

 

in backoffice orders, the names of the customers who have placed an order are shortened jsuto to the last name without abbreviation.

 

attachicon.gifabreviated name.PNG

 

Is there any way to avoid simplifying names?

Check Topic: https://www.prestashop.com/forums/topic/245227-aporte-nombre-del-cliente-completo-en-pantalla-pedidos/

 

In Prestashop 1.6

 

File:

/controllers/admin/AdminOrdersController.php

Change

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

By

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

Obviously, the best option is to make an override and not edit the original controller.

 

Sorry for my English.

Link to comment
Share on other sites

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...