fop_console
fop_console copied to clipboard
Add command to desactive / active all or a specific override
Add a command to disable or enable all overrides.
Like here :
https://github.com/nenes25/prestashop_console/pull/3/files
To go deep I also wanted to add the possibility to desactive or active a specific override by playing on the class_index.php and file extension in the override folder.
I don't know if it's the best way
A command to enable/disable overrides is a great idea :+1:
To go deep I also wanted to add the possibility to desactive or active a specific override by playing on the class_index.php and file extension in the override folder.
To modify a generated file does not sound as a good idea. :fearful: Nothing prevents that file to be rewritten, so changes are lost.
Dealing with classical override mechanisms seems better.
We could just remove class_index.php after disabling/enabling override?
maybe.
Are someone really interested by this command ? @okom3pom , still interested by this feature ? Should we keep this issue open ?