webimpian
5/5/2018 - 2:25 PM

Change gallery thumbnail size at single product page

<?php

function woocommerce_get_image_size_gallery_thumbnail_override( $size ) {
	return array(
		'width'  => 300,
		'height' => 400,
		'crop'   => 0,
	);
}
add_filter( 'woocommerce_get_image_size_gallery_thumbnail', 'woocommerce_get_image_size_gallery_thumbnail_override' );