Home Forums WoodMart support forum Popup button with shopping cart popup is not working

Popup button with shopping cart popup is not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #361218

    Kanwal
    Participant

    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.
    #361233

    Artem Temos
    Keymaster

    Hello,

    Try to enable the following options in Theme Settings -> Performance -> JS https://monosnap.com/file/MnF1Ok5D2G06DtNeOuboq1T5t7vUwU

    Kind Regards

    #361243

    Kanwal
    Participant

    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.
    #361251

    Artem Temos
    Keymaster

    Please, enable “Advanced scripts control” to see all these options.

    #361254

    Kanwal
    Participant

    I have done these all but still my popup is not opening on button click.

    #361278

    Artem Temos
    Keymaster

    Please, send us your admin access so we could check.

    #361288

    Kanwal
    Participant

    private content

    • This reply was modified 2 years, 9 months ago by Artem Temos.
    #361304

    Artem Temos
    Keymaster

    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();
    } );
    #361310

    Kanwal
    Participant

    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.
    #361518

    Artem Temos
    Keymaster

    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

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