Support » Plugin: WP WooCommerce Mailchimp » Fix for plugin overwrite

  • Resolved ionut.calara

    (@ionutcalara)


    This plugin is overwriting the checkout input. I needed to modify the plugin like this to get it to work.
    I added a priority argument on line 67 in the woocommerce-mailchimp/classes/class-ss-wc-integration-mailchimp.php on line 67 i changed

    add_filter( 'woocommerce_checkout_fields', array( &$this, 'maybe_add_checkout_fields' ));

    to

    add_filter( 'woocommerce_checkout_fields', array( &$this, 'maybe_add_checkout_fields' ),20 );

    Hope this helps someone until you update the plugin.

    https://wordpress.org/plugins/woocommerce-mailchimp/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fix for plugin overwrite’ is closed to new replies.