shop_catalog image non supported by WooCommerce v6.8.2

Hi there,

we are using the latest theme version v26.4.0.7, WooCommerce v6.8.2 and the latest version of Wordpress 6.x.

We uploaded some products a few months ago and the "shop_catalog" thumbnails of the images were supported by Woocommerce.

Now with the WooCommerce update these "shop_catalog" thumbnails are no longer supported by WooCommerce.

If you do a full-text search in the WooCommerce code there is no longer the "shop_catalog" entry.

Your theme heavily uses the reference to "shop_catalog" , what do you advise us to do?

Do we add add_image_size('shop_catalog', ...) on the child theme?

Or do you make a theme update available yourself?


Thanks,

regards

Comments

  • Hi,

    Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.

    It is always a good idea to also attach a screenshot showing your issue.

    Thanks

  • Hi,

    this is the problem:

    I am sending you a private contact with the login credentials, because the site is under maintenance.


    Thanks,

    regards

  • It seems to be an issue in the Theme files.

    I have passed this info to the dev team, and we will take a closer look at it.


    Thanks

  • The update fixing it will be released next week.

    You can fix it on your website by modifying two files:

    • wp-content/themes/betheme/functions/builder/class-mfn-builder-woo-helper.php

    in that file replace the whole "if" with this code:

    $output .= woocommerce_get_product_thumbnail();
    

    /wp-content/themes/betheme/functions/theme-woocommerce.php

    in that file replace the first whole function with this:

    function mfn_woo_support(){
    
    	$thumbnail_image_width = mfn_opts_get( 'shop-image-width', 800 );
    	$single_image_width = mfn_opts_get( 'shop-image-width', 800 );
    
    	if( 'modern' == mfn_opts_get('shop-product-style') ){
    		$single_image_width = 1200;
    	}
    
    	add_theme_support('woocommerce', array(
    		'thumbnail_image_width' => $thumbnail_image_width,
    		'single_image_width' => $single_image_width,
    	));
    
    }
    add_action( 'after_setup_theme', 'mfn_woo_support' );
    

    Thanks

  • We await the official update of the theme.


    Thanks,

    regards

Sign In or Register to comment.