• Resolved Artomultiplo

    (@protorob)


    There’s a conflict with the thumbnail regenration in the Customizer > Woocommerce > Product Images.

    When the plugin is activated, the product thumbnail/cropping settings in the customizer doesn’t save anymore.

    This happens also with the default twenty-X themes.

    I really want to go and get the PRO plugin, but I need to be sure that this issue is sorted.

    Amazing plugin by the way.
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes, I can confirm that. Even when I set the Product Images setting to uncropped the images are still squared. Please fix.

    There is this problem for me too, please fix it.

    I have the same issue/conflict with the theme Woostify.

    I have ‘fixed’ this issue by deactivating the plugin, using the ‘customizer’ to save again the thumbnail size, and then reactivating the plugin.

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi @protorob , @deothemes , @meysam98

    Thank you for reaching out to us. We are sorry for your inconvenience.

    Please use the below code as a snippet (using Code Snippet Plugin) or, put the below code inside the 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');
    }
    

    Thank you

    • This reply was modified 2 years, 9 months ago by fizanzvai.

    In our case the suggested snippet did not work, it would still save empty values to the database. We’ve resorted to just remove_filter calls directly in the functions.php instead of callback on admin_init.

    Plugin Support fizanzvai

    (@fizanzvai)

    Hi @miglenetiketa ,

    Please use the above snippet as it is. We are aware of this issue and fixed it on our Swatches Version 2.

    So don’t worry it will be fixed in the coming version.
    Thanks

    As previously mentioned, the snippet did not work and it still saved the invalid values to the database, only worked with callbacks directly without any other hooks.

    No worries, we’ve already removed the plugin as it caused way too many unnecessary problems for our liking.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issue with WC Thumbnail Options on Customizer’ is closed to new replies.