Home Forums WoodMart support forum Promo Popup

Promo Popup

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #482551

    pyramidsupport
    Participant

    Hello, 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 you

    #482580

    Luke Nielsen
    Keymaster

    Hello,

    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.

    https://take.ms/pWYSZ

    You can also reach out to us if you have any questions.

    Kind Regards

    #482593

    pyramidsupport
    Participant

    I 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.

    #482618

    Luke Nielsen
    Keymaster

    Hello,

    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

    #482636

    pyramidsupport
    Participant

    Thanks for the reply. Using your code now the “promo popup” comes out at every page change

    #482637

    Luke Nielsen
    Keymaster

    Hello,

    So is the issue resolved? Let me know if I missed something.

    Kind Regards

    #482641

    pyramidsupport
    Participant

    it 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.

    #482648

    Luke Nielsen
    Keymaster

    Hello,

    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

    #482652

    pyramidsupport
    Participant

    Thanks, it works now. Is it possible to configure hours or minutes?

    #482687

    Luke Nielsen
    Keymaster

    Hello,

    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

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