Home Forums WoodMart support forum CF7 Ajax is not working with WoodMart

CF7 Ajax is not working with WoodMart

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #312310

    mariti134
    Participant

    Hello, My CF7 Ajax send is not working with WoodMart and that is why I have contact the CF7 Dev and they said it is problem with theme JS which is making confliction with the plugin JS.

    #312401

    Hello,

    Please, provide your site admin access to the private area.

    Please confirm the permission to deactivate the plugins and switch to the parent theme or any other theme for investigation.

    Best Regards

    #312467

    mariti134
    Participant

    Hello,
    Thank you very much. I have provided admin access

    #312597

    Hello,

    Please remove your custom JS and check how the plugin works. The problem is caused by the custom JS.

    Best Regards

    #312625

    mariti134
    Participant

    Thanks
    I have written this custom JS for make a popup. I have removed them but still not working.

    var modal = document.getElementsByClassName(“myModal”)[0];

    // Get the button that opens the modal
    var btn = document.getElementsByClassName(“myBtn”) [0];

    // Get the <span> element that closes the modal
    var span = document.getElementsByClassName(“close”)[0];

    // When the user clicks the button, open the modal
    btn.onclick = function() {
    modal.style.display = “block”;
    }

    // When the user clicks on <span> (x), close the modal
    span.onclick = function() {
    modal.style.display = “none”;
    }

    // When the user clicks anywhere outside of the modal, close it
    window.onclick = function(event) {
    if (event.target == modal) {
    modal.style.display = “none”;
    }
    }

    #312701

    Hello,

    Please enable this option in the Theme settings > Performance > Plugins: https://take.ms/ozVtY

    If you have any questions please feel free to contact us.

    Best Regards

    #312896

    mariti134
    Participant

    Thanks, it is working now

    #313035

    You are welcome! We are here to help.

    Wish you a wonderful day!

Tagged: 

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

The topic ‘CF7 Ajax is not working with WoodMart’ is closed to new replies.