My shop image size is set to 450px, please see this screenshot: https://app.screencast.com/ZE8PMaQbt9KDC. However on the WooCommerce setting (customize > WooCommerce > store image) it is set as 800px and uncropped.
How can I show images uncropped in the shop page?
Here’s the example of the page I’m referring to: https://bookstore.yogananda-srf.org/product-category/self-realization-magazine
Please note that I have already tried regenerating the thumbnails.
Hey SRF,
Thank you for the inquiry.
Please add this code in the functions.php file to disable the theme’s predefined thumbnail size for shop pages.
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';
}
Best regards,
Ismael