Home New Guten Forums WoodMart support forum How to add Two Popup in Child theme?

How to add Two Popup in Child theme?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #519995

    darshan-0713
    Participant

    Hello,

    We Want to add Popup like Happy Christmas on the Home page
    But We want the Age Verification Popup Also open After the Christmas pop-up.
    Is it Possible?

    #520550

    Hung Pham
    Keymaster

    Hi darshan-0713,

    Thanks for reaching to us and appreciate your patience.

    Unfortunately, there is no way. If you enabled both of popups via Theme Settings, then Age verify popup will appears first and you have to refresh to load Christmas popup.

    You can disable Promo popup, and use Popup element / widget and highlight it, then user can click on it to display Christmas popup.

    Regards,

    #520596

    Hung Pham
    Keymaster

    Hi darshan-0713,

    In case you want to display Christmas popup (when scrolling down) after Age verify popup, please add below Custom JS code to Theme Settings > Custom JS

    (function($) {
    	$('.wd-age-verify-allowed').on('click', function(e) {
    		e.preventDefault();
    		setTimeout( function () {
    			woodmartThemeModule.promoPopup();
    		}, 500)
    	});
    })(jQuery);

    Regards,

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