Home Forums WoodMart support forum Promo popup keeps popping up on every page load

Promo popup keeps popping up on every page load

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #395983

    wildguitars
    Participant

    Hi, on our staging website https://dev2.wildguitars.co.il we have a promo popup activated. Customers are complaining that after they click on the link in the popup, when the next page loads they see the promo popup again. As you know, a promo popup is only supposed to appear once. I could not find any way to configure this in the team settings, and I’d appreciate your assistance.

    Thanks,
    Tom

    #396013

    Hello,

    Please describe the actions step by step to reproduce the issue.

    I saw the popup once on your site.

    Best Regards

    #396157

    wildguitars
    Participant

    Please view this video at your earliest convenience:
    https://we.tl/t-eiCdFj1qQW

    #396238

    Hello,

    I cannot view the video, please make it in another format.

    Best Regards

    #396406

    wildguitars
    Participant

    I’ve re-uploaded the video in mp4 format.
    https://we.tl/t-Pwy7v6KJCL

    #396672

    Hello,

    The file is not workable as well, unfortunately.

    Please deactivate all the plugins except these ones:

    Slider Revolution
    WPBakery Page Builder or Elementor
    Woodmart Core
    Contact Form 7
    MailChimp for WordPress
    WooCommerce
    Safe SVG

    If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.

    Best Regards

    #396722

    wildguitars
    Participant

    Hi Elise, I have uploaded the video to YouTube: https://youtu.be/N3UOd72ZJuo

    This issue has occurred from from the very beginning, when we launched our website a few years ago – long before we had so many plugins. I’m quite positive it has to do with the theme itself.

    Best regards,
    Tom

    #396872

    Hello,

    Have you checked the issue without all the plugins that do not relate to the theme?

    Best Regards

    #397174

    wildguitars
    Participant

    Hi Elise,
    I have disabled all plugins except for WooCommerce, Woodmart Core and WPBakery Page Builder.
    You can see that the issue still occurs.

    Best regards,
    Tom

    #397329

    Hello,

    Please add this code to the Theme Settings > Custom JS > On document ready:

    (function($) {
    	$('.wd-promo-popup').on('click', function(e) {
    		Cookies.set('woodmart_popup_' + woodmart_settings.promo_version, 'shown', {
    							expires: parseInt(woodmart_settings.promo_version_cookie_expires),
    							path   : '/',
    							secure : woodmart_settings.cookie_secure_param
    						});
    	});
    })(jQuery);

    Best Regards

    #397430

    wildguitars
    Participant

    This did the trick, thanks so much Elise!
    Perhaps this is something that you guys should work into your next update? It seems pretty important. Please let me know if I should delete this custom JS after the next update.

    #397534

    Hello,

    Ok, we will let you know.

    Best Regards

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Promo popup keeps popping up on every page load’ is closed to new replies.