eicaptcha
eicaptcha copied to clipboard
Override with One Page Checkout Prestashop [enhancement]:
Check if your feature request exists
- [X] My feature request does not already exists
Is your feature request related to a problem?
Failed to Enable module onepagecheckoutps. Cannot install overload: The initContent method in the AuthController class has been overridden by the eicaptcha module version 2.5.0 at 2024-03-15 15:34:10.
The module is
https://www.presteamshop.com/es/modulos-prestashop/one-page-checkout-prestashop.html
Describe the solution you'd like
Is it possible not to use override?
Additional context
No response
Hello,
This is a well known issue with prestashop modules when several modules overrides the same function. Regarding the override of eicaptcha for the AuthController, starting with Prestashop 8 it can be removed.
It's a new functionality from the version 2.4.5, you just need to configure the option in the Advanced settings tabs. And then drop the override file.
Regards
I don't understand what you mean by "And then drop the override file." Because in the advanced options of Prestashop 8.1.1 there is no place to drop the file. The only option is to disable all non-native override
same error, i cant enable it
I don't understand what you mean by "And then drop the override file." Because in the advanced options of Prestashop 8.1.1 there is no place to drop the file. The only option is to disable all non-native override
Just remove the file into the directory of the module before enable it.
@lolop93 in your case you have to fix the issue yourself if you want to use captcha in checkout. Remove the controller file, and then you'll need to manually apply the modification into the file override/controller/OrderController.php