Working with Woocommerce 2.3.11
-
This little plugin works fine even if it’s outdated. There is only a wp_enqueue_script error that if you have debugging mode off in WordPress you won’t notice it (it works even with the error).
In order to fix it go to line 41 of woocommerce-add-extra-charges-option-to-payment-gateways.php file and replace it with:
function wc_extra_enqueue() { wp_enqueue_script( 'wc-add-extra-charges', '/wp-content/plugins/woocommerce-add-charges-to-payment-gateways-master/assets/app.js', array('wc-checkout'), false, true ); } add_action('wp_enqueue_scripts','wc_extra_enqueue');
- The topic ‘Working with Woocommerce 2.3.11’ is closed to new replies.