Tagged: woocommerce
Hi Team,
I am trying to use Enfold and the :”One page checkout” plugin from woocommerce extension site. I found several topics explaining the theme and plugin conflict and it does not work. When you comment out a line in the functions file it does work but you lose css styling. We are willing to fix the styling but how can we comment out a line in functions.php so we can update. We are using a child theme. This is the code we have to comment out in the original functions.php:
require_once( 'config-woocommerce/config.php' ); //compatibility with woocommerce plugin
If you want to look:
Hi,
Unfortunately you can’t comment this line out with a child theme. You must go through all filters/actions registered in enfold\config-woocommerce\config.php and use remove_action or remove_filter to remove the default Enfold filters/actions. However probably you don’t need to remove all filters/actions but just some of them which conflict with your plugin.
Reference:
https://codex.wordpress.org/Function_Reference/remove_filter
https://codex.wordpress.org/Function_Reference/remove_action
Best regards,
Dude
Thanks for the response we will see how to fix this.