Can you advise how to re-size a the woocommerce single product page image? Using Appearance>Customize>Woocommerce settings does nothing. My images are uploaded at 300×300 and are being resized to a much larger image. I am guessing the Enfold theme is overriding Woo. Any help would be greatly appreciated
Hey Bob,
Thank you for the inquiry.
If you want the default configuration (Appearance > Customize > WooCommerce) to apply to product images, you can add the following code to the functions.php file:
add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 );
function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) {
return 'woocommerce_thumbnail';
}
Let us know the result.
Best regards,
Ismael