Created
July 12, 2023 18:37
-
-
Save dantetesta/ff9fc2fe0c52c75bf3f4050acb74d40d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
jQuery(document).ready(function() { | |
jQuery('.jet-add-to-store').on('click', function(e) { | |
e.preventDefault(); | |
// substitua 'popup_id' pelo ID real do seu pop-up | |
var popupID = '1188'; | |
// abre o pop-up | |
setTimeout(function() { | |
elementorProFrontend.modules.popup.showPopup( { id: popupID } ); | |
}, 1000); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment