Answers for "WooCommerce > Settings > Catalog > Image OptionsWooCommerce > Settings > Catalog > Image Options"

0

wocommerce product image

add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function( $size ) {
return array(
'width' => 150,
'height' => 150,
'crop' => 0,
);
} );
Posted by: Guest on August-31-2020

Browse Popular Code Answers by Language