POPUP PROBLEM - by sahandrajabion - on WordPress WooCommerce support

This topic has 8 replies, 2 voices, and was last updated 6 years, 9 months ago ago by Laranz

  • Avatar: sahandrajabion
    sahandrajabion
    Participant
    July 16, 2017 at 10:15

    Hello,

    The popup promo openes everytime I click a link on my site. I Just want it to open first time when entering the site. How can I make this happen ?

    Thanks.

    7 Answers
    Avatar: laranz
    Laranz
    Participant
    July 17, 2017 at 03:22

    Hi,

    You can click “Don’t show this popup again”, so that it won’t show you next time.

    The customization is out of the scope of support, but I will try to help you or narrow you to the right path.

    1. Try some script adding plugins like this, https://wordpress.org/plugins/header-and-footer-scripts/
    2. and add this script to the footer.

    	<script type="text/javascript">
    		jQuery(document).ready(function(){
    			if (jQuery.cookie('etheme_popup_closed') != 'do-not-show') {
    				jQuery.cookie('etheme_popup_closed', 'do-not-show', { expires: 1, path: '/' } ); 
    			}
    		});
    	</script>

    If the plugin don’t want to add script tags, then remove those while adding.

    Let us know,

    Thanks,
    laranz.

    Avatar: sahandrajabion
    sahandrajabion
    Participant
    July 18, 2017 at 12:36

    Hello ,

    No the script took it away completly , it is not coming up even the first time now

    Avatar: laranz
    Laranz
    Participant
    July 19, 2017 at 03:07

    Hi,

    Try clearing your browser cache ( mainly cookies ) then try that, it will load one time, after that it won’t show.

    Let us know,

    Thanks,
    laranz.

    Avatar: sahandrajabion
    sahandrajabion
    Participant
    July 21, 2017 at 08:22

    Hello!

    Thanks for the help but it does not show at all. Whould you be so kind to try and see yourself on my site? Maybe I am doing something wrong?

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: laranz
    Laranz
    Participant
    July 24, 2017 at 04:55

    Hi,

    Can you try now? I changed the code to this,

    <script type="text/javascript">
    		jQuery(window).load(function(){
    				jQuery.cookie('etheme_popup_closed', 'do-not-show', { expires: 1, path: '/' } ); 
    		});
    	</script>

    Let us know,

    Thanks,
    laranz.

    Avatar: sahandrajabion
    sahandrajabion
    Participant
    July 24, 2017 at 08:55

    YOU ARE THE BEST ! 😀 THANK YOU !

    Avatar: laranz
    Laranz
    Participant
    July 24, 2017 at 08:57

    Hi,

    You’re welcome 😉 Glad we helped. 🙂

    Let us know if you have any other questions,

    If you’re happy with our service, don’t forget to rate us 5 stars in themeforest. 🙂

    Thanks,
    laranz.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘POPUP PROBLEM’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.