Home Forums WoodMart support forum Please help, button not working after latest update theme on lots of websites.

Please help, button not working after latest update theme on lots of websites.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #391757

    webreturn
    Participant

    Hi guys,

    We are using more than 40 Woodmart licenses and we noticed that after the latest Woodmart update a button that opens tabs stopped working on mobile devies for all these sites (for example see site into the private section on a mobile screen size and than click the black button OFFERTE AANVRAGEN). It’s a button on the single product page that we use to opens a specific tab using Javascript. All websites that we updated have the same issues after updating tot he latest template version. I’m trying to figure out what changed, I did notice the following in the Woodmart changelog.

    FIXED: Accordion on single product for mobile device.

    This might be causing the conflict, can you explain what exactly has changed? Can you see what the cause is? We already tried to downgrade the jQuery version which not solved it.

    Hope you guys can help us out, thanks!

    Best regards, Tim

    #391806

    Artem Temos
    Keymaster

    Hello,

    You have a custom JS to make this button work. You need to replace the following line

    var offerteAanvragenTab = document.querySelector('.woocommerce-tabs > .wd-accordion-item.wd-tab-wrapper.woodmart-tab-wrapper > [href="#tab-offerte_aanvragen_tab"]');

    with this one

    var offerteAanvragenTab = document.querySelector('.woocommerce-tabs .wd-accordion-item.wd-tab-wrapper > .tab-title-offerte_aanvragen_tab');

    Kind Regards

    #391831

    webreturn
    Participant

    Thank you really much! This is working : )

    #391832

    Artem Temos
    Keymaster

    You are always welcome!

    Kind Regards

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

The topic ‘Please help, button not working after latest update theme on lots of websites.’ is closed to new replies.