fatheeym Posted October 8, 2016 Share Posted October 8, 2016 for example michael jackson prestashop type it as M.jackson i want it to be michael jackson thanks Link to comment Share on other sites More sharing options...
Daresh Posted October 8, 2016 Share Posted October 8, 2016 Where exactly? Link to comment Share on other sites More sharing options...
fatheeym Posted October 8, 2016 Author Share Posted October 8, 2016 in orders page Customer column Link to comment Share on other sites More sharing options...
rocky Posted October 8, 2016 Share Posted October 8, 2016 It's the following code on line 62 of controllers/admin/AdminOrdersController.php that does that: CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`, Changing it to the following should do what you want: CONCAT(c.`firstname`, \' \', c.`lastname`) AS `customer`, Link to comment Share on other sites More sharing options...
Daresh Posted October 8, 2016 Share Posted October 8, 2016 You would need to change in the AdminOrdersController.php, from: CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS `customer`, To: CONCAT(c.`firstname`, " ", c.`lastname`) AS `customer`, Link to comment Share on other sites More sharing options...
fatheeym Posted October 8, 2016 Author Share Posted October 8, 2016 thank you 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