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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.