Promo Popup button problem
-
Hello. We have a promo popup with a button that redirects to the shop. The popup shows if the user scrolls down.
The problem is after the button click and the redirect the popup shows up again in an loop.
The problem seems to be not present in Safary only.
https://martinez-perfume.com/shop/
Hello,
Please send me access to the admin panel so I can look closer at it.
Thank you for your time.
Kind Regards
I have provided you with an account. Hope you can manage in the main language.
Hello,
May I disable 3rd party plugins and enable the parent theme for testing?
Thank you in advance.
Kind Regards
Please dont the site is in production. Can you please do it later at night. We have ads and we need to know when you are going to test so we can stop the ads.
Hello,
In this case, I suggest cloning a site and moving to the staging platform (where we can test issues, and enable/disable plugins thus such changes will affect the production site). The below article will help you to create it:
https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Kind Regards
https://martinez.keyweb.fun/wp-admin/
This is the staging website. With the same login
Hello,
The promo popup is not designed for such functionality as you have, we suggest using the code below to fix that issue:
(function($) {
$('.wd-promo-popup a').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);
Paste the code into the “Global JS” area in Theme Settings -> Custom JS.
Kind Regards
Hello,
You are welcome! If you do not mind, can you please leave a 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot.
Have a good day!
Kind Regards
The topic ‘Promo Popup button problem’ is closed to new replies.