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

    I want to hide the add to cart and show details buttons that pops up on product images when hovering over them. Then I want the whole picture to link to the product page.

    #231207

    Hi oysteinwangen!

    Add this on Quick CSS:

    .thumbnail_container_inner .button {
    display: none;
    }

    Edit woocommerce-config > config.php, find this code on line 352:

    echo get_the_post_thumbnail( get_the_ID(), 'shop_catalog' );
    

    Replace it with:

    echo "<a href='".get_permalink($post->ID)."'>".get_the_post_thumbnail( get_the_ID(), 'shop_catalog' )."</a>";
    

    Regards,
    Ismael

    #293982

    Hi!
    I need the same, buyt, i didn’t found the 352 line ( echo get_the_post_thumbnail( get_the_ID(), ‘shop_catalog’ ); )

    #293996

    Hey!

    @charliebarey Seems like you have figured this one out? :) – http://www.kriesi.at/support/topic/disable-cart/#post-293990

    Regards,
    Yigit

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

You must be logged in to reply to this topic.