WordPress.org

Forums

WooCommerce - excelling eCommerce
thumbnail shows larger image instead of lightbox (1 post)

  1. wbjtk
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.