Popup button with shopping cart popup is not working
-
Hi! I created 2 HTML blocks, one for Popup content and other for Button so that when i will click on that button then popup will be displayed. It is working on edit with elementor but when I’m using that button on Shopping Cart popup then it is not working. I added the button using functions.php. For understanding please see my screenshots.
Thanks
Attachments:
You must be
logged in to view attached files.
Hello,
Try to enable the following options in Theme Settings -> Performance -> JS https://monosnap.com/file/MnF1Ok5D2G06DtNeOuboq1T5t7vUwU
Kind Regards
Hi! Please see my screenshot, i don’t have these options in Theme Settings -> Performance -> JS
Attachments:
You must be
logged in to view attached files.
Please, enable “Advanced scripts control” to see all these options.
I have done these all but still my popup is not opening on button click.
Please, send us your admin access so we could check.
private content
-
This reply was modified 3 years, 5 months ago by
Artem Temos.
Try to add the following code snippet to the Custom JS area in Theme Settings to fix this issue.
jQuery( document.body ).on( 'wc_fragments_loaded', function(){
woodmartThemeModule.contentPopup();
} );
Hi! I tried this code. It is opening now but my content is not showing there. I’m attaching both images: my popup and what is showing by clicking button. Please have a look.
Attachments:
You must be
logged in to view attached files.
Sorry, but we can’t fix it in the shopping cart widget. It looks like such kind of content can’t work there and we don’t have an instruction for such customization. It is out of our theme support scope.
Kind Regards