Jump to content

Problem with back office changes

Silvio Cifone

Recommended Posts

I'm trying to edit the back office, precisly the customer tables, adding an other column. I did this change and it works, but know i have a doubt: I edited the AdminCustomersController.php, adding the column i needed. When there will be updates of prestashop, will this code changes be overwritten? If yes, how can i edit back office automatically (and not from the code)? And how can I evitate this problem? :'( 

I tried to search in the Prestashop documentation but i didn't find help for this problem.... 

Thanks for attention eheh :D

Link to comment
Share on other sites

What version of PrestaShop did you use ?

In next PrestaShop version 1.7.6, I see that page was totally rebuild with Symfony. So in order to do the same things with this new version, you should create a module to override Grid.

But in previous version, a simple override of this AdminCustomersController should work well.

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