WooThumbs Not Showing In The Gem Theme

If you‘re using The Gem theme, you may notice that WooThumbs does not show up properly on the single product page.

It’s easy enough to fix by adding the following code to your child theme’s functions.php file.

 * Remove The Gem gallery and use WooThumbs.
function iconic_swap_images() {
	global $iconic_woothumbs_class;
	add_action( 'thegem_woocommerce_single_product_left', array( $iconic_woothumbs_class, 'show_product_images' ), 5 );
	remove_action( 'thegem_woocommerce_single_product_left', 'thegem_woocommerce_single_product_gallery', 5 );

add_action( 'init', 'iconic_swap_images' );

WooThumbs for WooCommerce

Enable zoom, sliders, video, fullscreen, multiple images per variation, and customisable layout options for your product imagery.

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.