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' );

Still need help? Contact Us Contact Us