ZeSpecialK Posted February 24 Share Posted February 24 Hi all, I try to overload the 'main menu' default module present in the 'classic' theme on Prestashop 8 (ps_mainmenu.php file). Usually, I create a folder 'ps-mainmenu' with 'ps_mainmenu.php file on 'themes/classic_child/modules'. But, in this case, for some strange reasons, it doesn't work. If I make the same on 'override' folder instead of 'themes/classic_child/etc...' path it seems to work. Does someone explain me the overload/override logical ? What i the right way to do that (I thinked override was depreciate on PS8) ? Thanks to all. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted February 24 Share Posted February 24 I don't think Prestashop has déprécié the override functionality. To override the PHP files of the module, use the root folder overrides & to modify the template files of the modules, use the theme folder. Refer to the URL below for details. https://devdocs.prestashop-project.org/8/modules/concepts/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