• Resolved bindungsweise

    (@bindungsweise)


    Hi,

    I’m using this awesome plugin with the Mailchimp extension. I love the “Floating Button” Feature! However, I have on issue: Once the user has subscribed, the floating button is still visible, but nothing happens when the users clicks on it.
    What I would like to do is to either hide the floating button once the user has subscribed, or alternatively show a different popup stating that the user is already subscribed.

    Is there a possibility to do this?

    Best regards,
    Bettina

Viewing 1 replies (of 1 total)
  • Hello @bindungsweise,
    Sorry for the late answer.

    You can achieve that with some custom code. Here is what you need to do:

    Inside the popup content switch the tab to the text mode and insert the following code

    <script>
    if (SGPBPopup.getCookie(‘SGPMailChimpPopup21’)) {
    jQuery(‘.sgpb-floating-button.sg-popup-id-21’).hide();
    }
    </script>

    Please note that 21 is your popup id.

    Also if the user want to hide the floation button once the popup closed he need to put this code as well inside the custom JS Closing Events -> #3
    jQuery(‘.sgpb-floating-button.sg-popup-id-21’).hide();

    Here is the screenshot
    https://prnt.sc/xno6c2

Viewing 1 replies (of 1 total)
  • The topic ‘Click on Embed Button’ is closed to new replies.