Support » Plugin: YITH WooCommerce Popup » Plugin doesn’t work, if i not logged in

  • My popup appear but don`t send anything to mailchimp.
    After clicking subbscribe button nothing happens. Only message “0”.
    It only work when i logged in.

Viewing 1 replies (of 1 total)
  • In file
    yith-woocommerce-popup/includes/newsletter-integration/Mailchimp.php
    change line 77

    from
    add_action( ‘wp_ajax_ypop_nopriv_subscribe_mailchimp_user’, array( $this, ‘subscribe_mailchimp_user’));
    to
    add_action( ‘wp_ajax_nopriv_ypop_subscribe_mailchimp_user’, array( $this, ‘subscribe_mailchimp_user’));

    (switch ypop and nopriv)

Viewing 1 replies (of 1 total)
  • The topic ‘Plugin doesn’t work, if i not logged in’ is closed to new replies.