c64girl Posted April 4, 2022 Share Posted April 4, 2022 (edited) I have a installed module from prestashop module market called: Promotions and discounts - (3x2, reductions, campaigns) That have mod files in overrides folder: CartController.php function updateCart() Module Product Bundle Pack|Add multiple products into the cart have override file CartController.php function updateCart() Edited April 8, 2022 by razaro Code from paid modules removed. (see edit history) Link to comment Share on other sites More sharing options...
Ress Posted April 4, 2022 Share Posted April 4, 2022 In the module you want to install, you should comment the updateCart() override function, install the module (you will not receive an error, because it will not override the same function), and then go to CartController override, and manually add the function code in addition to the other code. Link to comment Share on other sites More sharing options...
c64girl Posted April 5, 2022 Author Share Posted April 5, 2022 11 hours ago, Ress said: In the module you want to install, you should comment the updateCart() override function, install the module (you will not receive an error, because it will not override the same function), and then go to CartController override, and manually add the function code in addition to the other code. Thx i did that. Hope modules will user hooks instead of overrides 1 Link to comment Share on other sites More sharing options...
idnovate.com Posted April 8, 2022 Share Posted April 8, 2022 If you have any problem you can reach us at https://addons.prestashop.com/contact-form.php?id_product=9129. 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