WordPress.org

Support

Support » Plugins and Hacks » thumbnail shows larger image instead of lightbox

thumbnail shows larger image instead of lightbox

  • Hey- thanks a million for this plugin!

    When on the single product page, I would like to change what happens when you click on the thumbnail. When you click it, it goes to the lightbox (or when lightbox if turned off, it opens its file image).

    I’d like it to put the photo in the large image box, like when you click a variation, the variation’s thumbnail goes in the large box.

    I think I just have to change this: echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '<a href="%s" class="%s" title="%s" rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image ), $attachment_id, $post->ID, $image_class ); in product-thumbnails.php to something.

    Can anyone help?

    Thanks in advance!

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘thumbnail shows larger image instead of lightbox’ is closed to new replies.