show featured image in product gallery thumbnails (5 posts)

  1. hash.tag
    Posted 3 years ago #

    I'm trying to show product's featured image in product gallery thumbnails to enable WooCommerce Cloud Zoom Image Plugin (http://wordpress.org/extend/plugins/cloud-zoom-for-woocommerce/), but didn't find any appropriate post regarding this matter.

    When I activate this plugin, it enables image hover zoom for just featured image. When I click other images from thumbnails, it shrinks that image into smaller size, and the featured image disappears.

    Can anyone know solution to this problem?


  2. bheadrick
    Posted 3 years ago #

    Without modifying the plugin, you pretty much need to upload 2 copies of the featured image to the product to make that happen.

  3. bheadrick
    Posted 3 years ago #

    ... correction...

    you can modify the product-thumbnails.php file by removign the 'post_not_in' line so the featured image isn't excluded

    copy this file from woocommerce/templates/simgle-product to
    your-theme-folder/woocommerce/simgle-product and modify the copy

  4. hash.tag
    Posted 3 years ago #

    @bheadrick thanks for the response.

    the first solution seems bit working in my case. i tried the second one as well but it breaks the theme.

    but i'm still facing a problem. when i click the images on product gallery, the corresponding bigger image shrinks to the size of thumbnails. do you know the solution?

  5. z4x3r
    Posted 2 years ago #

    This workaround is no longer valid for the latest woocommerce version. The post_not_in line that should be commented is not present anymore.

    Is there any other way this can be fixed?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic