Close adult warning popup permanently in PrestaShop

can I configure the popup module so that customers who have once confirmed that they are over 18 will not keep seeing the pop up everytime?

How to close popup permanently in PrestaShop?

to create this kind of workflow of popup, your popup with adult contents warning must have these options enabled:
test mode: NO 
- large enough value of option: Display popup once again after (for example 10 years, so popup will not appear again anymore)
Disable "click anywhere" to close popup: yes
Disable default "close popup" button: yes
Hide only after close: yes (Module will not spawn popup once again (after page refresh) only if you will close it with custom button)

custom button to permanently close the popup:
<div class="button" onclick="hideThisPopup();">Close</div>

so, with these options:
- it will be possible to close popup only with special button that i mentioned above (you can alter text to "confirm" etc.)
- popup will not appear again

Share on Google Plus


This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment


Post a Comment