fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Variation Swatches for WooCommerce conflicts with Woocommerce

Yatir Offer

Hey,

 

When plugin is turned on, i can’t set woocommerce image sizes through theme customizer > woocommerce > product image sizes.

I try to set thumnbail size to X, publish. when i referesh it returns 0.

Hakik Zaman

Hi Yatir,

Thanks for reaching out to us. Please put the below inside your child theme’s functions.php

or use it as a snippet inside the Code Snippet plugin
if ( ! function_exists( 'wvs_support' ) ) {
function wvs_support(){
remove_filter( 'pre_update_option_woocommerce_thumbnail_image_width', 'wvs_clear_transient' );
remove_filter( 'pre_update_option_woocommerce_thumbnail_cropping', 'wvs_clear_transient' );
}
add_action('admin_init', 'wvs_support');
}

Then try to save your setting from the customizer and let me know it resolves your issue or not.

Hope to hear from you soon!

Thank You