MojoSwift Posted April 2, 2020 Share Posted April 2, 2020 Hi all, Can anyone tell me which file I need edit to fix this page please? BO > Cusotmers > (Customer account) Specifically I'm trying to change the displayed name to {surname} only. I've been making similar changes all over the BO, but this page remains elusive. So any pointers would be very welcome! I'm on version 1.7.6.4 Many thanks in advance Link to comment Share on other sites More sharing options...
MojoSwift Posted April 6, 2020 Author Share Posted April 6, 2020 BUMP Link to comment Share on other sites More sharing options...
MojoSwift Posted April 14, 2020 Author Share Posted April 14, 2020 BUMP Link to comment Share on other sites More sharing options...
NPO Posted April 16, 2020 Share Posted April 16, 2020 Hi, to show the only the lastname of the customer edit: ..../src/PrestaShopBundle/Resources/views/Admin/Sell/Customer/view.html.twig on the first line starting {% set layoutTitle = 'Information about customer ..... remove customerInformation.personalInformation.firstName[0:1] ~ '. ' ~ Clear cache, manually if necessary and reload page. - You should now have: Information about your cusotmer Lastname Remember you are editing a core file - just in case you ever upgrade/update your system. Link to comment Share on other sites More sharing options...
MojoSwift Posted June 23, 2020 Author Share Posted June 23, 2020 On 4/17/2020 at 7:59 AM, NPO said: Hi, to show the only the lastname of the customer edit: ..../src/PrestaShopBundle/Resources/views/Admin/Sell/Customer/view.html.twig on the first line starting {% set layoutTitle = 'Information about customer ..... remove customerInformation.personalInformation.firstName[0:1] ~ '. ' ~ Clear cache, manually if necessary and reload page. - You should now have: Information about your cusotmer Lastname Remember you are editing a core file - just in case you ever upgrade/update your system. Just wanted to to say thank you!! This did it. I would NEVER have found that. 🤣 Sorry for my delayed response. Crazy times. 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