Jump to content

Editing the BO "Info about customer" page


MojoSwift

Recommended Posts

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

Untitled3.png

Link to comment
Share on other sites

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

  • 2 months later...
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

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