Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1428057

    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.

    #1428060

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.