eicaptcha icon indicating copy to clipboard operation
eicaptcha copied to clipboard

Override with One Page Checkout Prestashop [enhancement]:

Open miguelpicher opened this issue 10 months ago • 4 comments

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

miguelpicher avatar Apr 24 '24 09:04 miguelpicher

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

nenes25 avatar Apr 29 '24 06:04 nenes25

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

miguelpicher avatar May 15 '24 19:05 miguelpicher

image same error, i cant enable it

lolop93 avatar May 20 '24 09:05 lolop93

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

nenes25 avatar May 20 '24 10:05 nenes25