Support » Plugin: WebP Express » Woocommerce loads both webp & jpg on product page

  • I had an issue with Woocommerce loading both the webp and jpeg product image on the product page. The browsers I’ve used downloaded both images. I found a solution to be removing the gallery zoom support in woocommerce.

    The following code fixed the issue for my child theme:

    add_action( 'after_setup_theme', 'remove_pgz_theme_support', 100 ); 
    
    function remove_pgz_theme_support() { 
    remove_theme_support( 'wc-product-gallery-zoom' );
    }
  • You must be logged in to reply to this topic.