Pau111111 Posted March 3, 2017 Share Posted March 3, 2017 Hello Prestashopers, in backoffice orders, the names of the customers who have placed an order are shortened jsuto to the last name without abbreviation. Is there any way to avoid simplifying names? Link to comment Share on other sites More sharing options...
nadie Posted March 3, 2017 Share Posted March 3, 2017 Hello Prestashopers, in backoffice orders, the names of the customers who have placed an order are shortened jsuto to the last name without abbreviation. abreviated 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 More sharing options...
Pau111111 Posted March 6, 2017 Author Share Posted March 6, 2017 nadie, para hacer el override y que no se pierda al actualizar es copiar el archivo a override/controllers/Admin y ya esta? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now