Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi paigesevier,

    Did you by any chance figured out what went wrong?

    I have a similar issue.

    The email subscription popup works, when we are logged into the website as admin.

    As a normal user, it shows 0.

    Hello my friend!
    He managed to solve the problem? I’m the same mistake, so far could not solve!
    https://www.postmania.com.br

    Shota

    (@shotamickaia)

    Hello, I have a similar issue. Any decisions?

    Hi All,

    i have same problem and its solved!!
    follow this steps:

    Open below file:
    yith-woocommerce-popup/includes/newsletter-integration/Mailchimp.php

    check this function

    public function add_form_handling(){
    // add mailchimp subscription
    add_action( ‘wp_ajax_ypop_subscribe_mailchimp_user’, array( $this, ‘subscribe_mailchimp_user’ ) );
    add_action( ‘wp_ajax_nopriv_ypop_subscribe_mailchimp_user’, array( $this, ‘subscribe_mailchimp_user’));
    }

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

    change above action to below

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

    let me know its work or not.

    Thanks
    Ahir

    michael2017

    (@michael2017)

    Ahir, you are a genius! Thanks a lot it works fine!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Yith Popup putting 0 after email submission’ is closed to new replies.