• Hi

    I wonder if you can help me, I have installed a basic theme edsbootstrap on my localhost with woocommerce installed. But am having an issue where there are html# links.

    Woocommerce have a tab section at the bottom of the product, so it has
    links like this<a href="#tab-additional_information">Additional information</a>

    Everytime I click on one of those tabs I get this really annoying message Pop up message problem and I cant find how to disable it. Can anyone point me in the right direction as to where this code is and how I can turn it off.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dear thatsinsurance

    Thank you for reaching out to the support forums! I have taken a look at your problem and screenshot mentioned with your question. We can fix this, together!

    I was able to write a custom snippet code that you must adapt in your child theme functions.php file to remove the additional information button from a single product page:

    add_filter( 'woocommerce_product_tabs', 'jensdevbeule_remove_product_tabs', 98 );
     
    function jensdevbeule_remove_product_tabs( $tabs ) {
        unset( $tabs['additional_information'] ); 
        return $tabs;
    }

    Feel free to edit the jensdevbeule_remove_product_tabs part. It it just necessary that you have a non-identical prefix to other WP-filters.

    I’m hoping this will solve your problem. Don’t hesitate to reply if you need further assistance.

    Thread Starter thatsinsurance

    (@thatsinsurance)

    Hi there

    Thanks for your help Jens, I dont want to remove the tabs though, I just want to stop the pop up message – where it says “test” in the grey box from appearing. Its definitely a theme issue as I swapped the theme over and it doesnt do it.

    If you have an idea of what the code may say I can do a find on my dreamweaver local site and search for that bit of code.. I just have no idea what it would be. Its driving me nuts ??

    Dear thatsinsurance

    As of it is theme-related navigate to Appearance > Editor > dropdown: yourTheme (replacing yourTheme with your theme name). Secondly search for a code like this: window.alert("test"); or alert("test");.

    I’m hoping this will solve your problem. Don’t hesitate to reply if you need further assistance.

    Thread Starter thatsinsurance

    (@thatsinsurance)

    Hi

    That is so weird I cant find either of those or even “test” in the theme folder at all. I think I will need to revert to the person who did the theme and see if they know why this is doing it.

    Thank you so much for taking the time to help me though.

    Kind Regards

    Denise

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pop up message problem’ is closed to new replies.