fhame Posted April 6, 2018 Share Posted April 6, 2018 Hey Guys, I am trying to override the following classes: controllers/front/OrderController.php classes/form/CustomerFormatter.php classes/Customer.php So i created a module and placed it into the "/modules" directory In my module directory I created the folder "override" where I placed the following files: controllers/front/OrderController.php classes/form/CustomerFormatter.php classes/Customer.php But even when I am uninstall the module, deleting the cache (/app/cache/prod/classes_index.php) and install the modul again I am always receiving the error message when trying to activate the module:enable von Modul bw_checkout nicht möglich: Das Override kann nicht installiert werden: Das Verzeichnis (/app/override/classes) ist nicht beschreibbar enable from module mymodule not possible: The Override cannot be installed: The directory (/app/override/classes) is no describable. But even when creating all the directories manually and try to activate again only the Customer.php gets copied. But there are always missing a lot of code in the file so that it gets broken in there.. Normally the directories should be created automatically or? Maybe there is another to reach my target than using overrides. I want to change the whole checkout process therefore I need to remove the checkout steps and adding only my own one. I read about hooks, but I do not see how to completly override a page with a hook, maybe someone can help me out here. Link to comment Share on other sites More sharing options...
vekia Posted April 13, 2018 Share Posted April 13, 2018 what is the exact version of your prestashop (i need number 1.7.x.y) it is strange because by default overrides are not installed to /app/overrides/ directory (prestashop by default installs them in /overrides/) 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