Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1042834
    jolieruxx
    Participant

    Hi! I want to remove the link to the product page that appears when hovering on a product image. How do I do this?
    I use a lightbox plugin which opens a popup with some product details after I click on add to cart. I don’t need a product page.

    I tried using this:

    jQuery( function( $ ) {

    $(‘.entry-product .entry-featured a, .entry-product .entry-header a[href!=”/?add-to-cart=”], .woocommerce-cart .shop_table.shop_table_responsive.cart a’).on( ‘click’, function(e) { e.preventDefault(); } );

    } );

    But it doesn’t work.

    Thanks!

    #1043110
    John Ezra
    Member

    Hi there,

    Thanks for writing in! It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as we are not the best suited for such tasks. It would best if you contact the plugin developer for better assistance. Thank you for your understanding.

    Having said that, we can take a look and see if there is an easy fix that we can find. However, we can’t make any promises. If you would like us to try, please provide your URL. Thanks!

  • <script> jQuery(function($){ $("#no-reply-1042834 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>