Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13228

    The overlay buttons are a cool feature in Kriesi’s themes.

    However they can also frustrate users who are used to just clicking an image to be taken to a product page.

    I suggest enabling both options, so that if the image is clicked it takes the user to the product page.

    So I’m looking for where I need to make the change.

    I looked in the woocommerce-mod.js file but don’t see it. Can someone let me know where to look (and maybe what code to add / change) ?

    #78357

    Hi fitzpatrick51,

    To be honest, I’m not sure if this can be done without a major edit of the template files themselves. I’m flagging this for the rest of the support team to see if they know.

    Regards,

    Mya

    #78358

    Hey!

    Probably this post: http://www.kriesi.at/support/topic/how-to-hide-add-to-card-and-show-details#post-51828 answers your question.

    Regards,

    Peter

    #78359

    The code in the link Dude posted does not work for Flashlight. Can you help me with a solution specific to this theme?

    #78360

    Try to replace following code in woocommerce-config/config.php:

    echo "<div class='thumbnail_container_inner'>";
    echo get_the_post_thumbnail( get_the_ID(), 'shop_catalog' );

    with:

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

    and add following code to css/custom.css or the quick css field:

    .product_link_full{
    width: 100%;
    height: 100%;
    }

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

The topic ‘products – add clickable images in addition to overlay buttons’ is closed to new replies.