Jump to content

Make changes to the AdminImportController


Recommended Posts

Hello,

 

I made a change to the AdminImportController because I created a new field for my product, and I wanted to be able to import it. I have a big product database.

Now that it's working, I'd like to use the override folder so that my changes won't be lost when I upgrade prestashop.

So I added AdminImportController.php in override/controllers/admin

The problem is that my field doesn't appear in the dropdown list when I try to import.

 

It's working great when the changes are made in AdminImportController.php but not in override.

 

Could you please help me ?

Isn't there a way to do why I'm trying to do? Or do I have to make changes to AdminImportController.php and take the risk of have it disappear on next update ?

 

Thanks

Link to comment
Share on other sites

  • 1 year later...

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