Home › Forums › WoodMart support forum › Promo Popup
Promo Popup
- This topic has 9 replies, 2 voices, and was last updated 2 years ago by
Luke Nielsen.
-
AuthorPosts
-
July 19, 2023 at 10:13 am #482551
pyramidsupportParticipantHello, is it possible to view the “popup promo” at each new user session? Today I go to the site and see the popup, I close it, continue browsing and I don’t see it anymore. After 2 hours I return and would like to review the popup.
Thank youJuly 19, 2023 at 12:01 pm #482580
Luke NielsenKeymasterHello,
I suggest you increase the “Popup version” field therefore you will force all users to see the popup even if they closed it already. It is situated in Theme Settings -> Promo popup.
You can also reach out to us if you have any questions.
Kind Regards
July 19, 2023 at 12:45 pm #482593
pyramidsupportParticipantI probably explained myself badly. I know the version number but it’s not for me. We want to show the popup every time the user starts a new browsing session.
July 19, 2023 at 2:12 pm #482618
Luke NielsenKeymasterHello,
Please add the below code to the
functions.php
file in your child theme and recheck the issue.add_filter( 'woodmart_promo_version_cookie_expires', function() { return 0.5; // Days. } );
Kind Regards
July 19, 2023 at 2:52 pm #482636
pyramidsupportParticipantThanks for the reply. Using your code now the “promo popup” comes out at every page change
July 19, 2023 at 2:54 pm #482637
Luke NielsenKeymasterHello,
So is the issue resolved? Let me know if I missed something.
Kind Regards
July 19, 2023 at 2:59 pm #482641
pyramidsupportParticipantit is not solved. It now appears on every page change. With the code I figured the “popup promo” would show up every 0.5 days.
But it’s not like that, it appears at every page change.
I’ll give you the link of the staging site.July 19, 2023 at 3:16 pm #482648
Luke NielsenKeymasterHello,
So please try to use the below one, it should help you to show the popup once per day.
add_filter( 'woodmart_promo_version_cookie_expires', function() { return 1; } );
Kind Regards
July 19, 2023 at 3:24 pm #482652
pyramidsupportParticipantThanks, it works now. Is it possible to configure hours or minutes?
July 19, 2023 at 4:44 pm #482687
Luke NielsenKeymasterHello,
Sorry, but there is no way directly configure hours or minutes, unfortunately.
I sincerely appreciate your understanding in this matter. Please feel free to reach out to me if you have any further questions.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register