bonsaiko Posted November 15, 2016 Share Posted November 15, 2016 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 More sharing options...
Daresh Posted November 15, 2016 Share Posted November 15, 2016 I noticed the same thing on some other admin controller - the override does not work, had to change the original file. Maybe it's some general bug in Prestashop. Link to comment Share on other sites More sharing options...
bonsaiko Posted November 15, 2016 Author Share Posted November 15, 2016 I'm not sure if it's a bug or not... But I was wondering if it was possible to override these classes or not... Link to comment Share on other sites More sharing options...
LauraPresta Posted June 18, 2018 Share Posted June 18, 2018 same here, cant override this file AdminImportController.php throu module class_index.php deleted before etc.. while installing : " Impossible d'installer la surcharge : Class AdminImportControllerOverride5b27819b40d79 does not exist 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