Promo popup keeps popping up on every page load
-
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
Hello,
Please describe the actions step by step to reproduce the issue.
I saw the popup once on your site.
Best Regards
Please view this video at your earliest convenience:
https://we.tl/t-eiCdFj1qQW
Hello,
I cannot view the video, please make it in another format.
Best Regards
I’ve re-uploaded the video in mp4 format.
https://we.tl/t-Pwy7v6KJCL
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
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
Hello,
Have you checked the issue without all the plugins that do not relate to the theme?
Best Regards
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
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
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.
Hello,
Ok, we will let you know.
Best Regards
The topic ‘Promo popup keeps popping up on every page load’ is closed to new replies.