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

Product Images settings not saved

Go to Appearance -> Customize -> Woocommerce -> Product Images

Try to change “main image width” , “Thumbnail Width” or “Thumbnail Cropping” and it will not save if this plugin is active.

I deactivated all the plugins one by one and found that this error is only because of this plugin.

Looking forward for reply and fix asap.

Hakik Zaman

Hello KISHAN,

Thanks for reaching out to us. Please use the below code as a snippet (using code snippet plugin) or paste the below code insider your child theme’s functions.php
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');
}

Please let me know if it resolves your issue. Hope to hear from you soon.

Thanks