Woocommerce thums on product page


I have found that thumbs on product page are in wrong size (too small). Link to the example: https://www.am-cycling.com/shop/kaleidoscope-jersey/
Could you help me with fixing that?


Hello Marcin,

To enlarge it, add the below function to your child theme’s functions. Or use a functionality plugin like Code Snippets if you aren’t running a child theme.

    add_filter( 'woocommerce_gallery_thumbnail_size', function( $size ) {
        return 'thumbnail';

Then go to Settings > Media; then set larger size for “Thumbnail size” option. Maybe 300 x 300 would work for you.

Afterwards you’d need to regenerate the current thumbnails with the new size defined, you can use this plugin: https://wordpress.org/plugins/regenerate-thumbnails/