sergeyantonio Posted November 14, 2016 Share Posted November 14, 2016 Hello! I read the documentation, like all done as it should, but the module is overriding as something not yet fully. There is a module /modules/blockwishlist. In folder /override created folder /modules/blockwishlist/, redefined to put files: - blockwishlist.php; - WishList.php; - managewishlist.php. In the first two renamed classes and extended from parents: 1. class BlockWishListOveride extends BlockWishList { ... 2. class WishListOverride extends WishList {... In the third file class is not available, just code. So somehow work out the original instead of this file, that is, /modules/blockwishlist/managewishlist. I can not understand. Already I copied to / override / modules / blockwishlist / all of the code from the original module (I understand that this is a panic), but did not work. I ask the help from experts. Link to comment Share on other sites More sharing options...
Richard S Posted February 23, 2017 Share Posted February 23, 2017 We have the exact problem, how to override Wishlist class from the module blockwishlist properly? Anyone has a proper solution already for that? Link to comment Share on other sites More sharing options...
El Patron Posted February 25, 2017 Share Posted February 25, 2017 Hi, check out this article by community member nemo1. http://nemops.com/overriding-modules-controllers-in-prestashop-1-6/ 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