Jump to content

Unable to Instal Override module because of one is installed :/


Recommended Posts

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 by razaro
Code from paid modules removed. (see edit history)
Link to comment
Share on other sites

  • c64girl changed the title to Unable to Instal Override module because of one is installed :/

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

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

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...