Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    You can use the code below to disable the zoom function:

    function remove_image_zoom_support() {
        remove_theme_support( 'wc-product-gallery-zoom' );
    }
    add_action( 'wp', 'remove_image_zoom_support', 100 );

    That code should be added to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code Snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update.

    Thread Starter joujoumylove

    (@joujoumylove)

    hi thanks for your response. I tried to add it under functions.php but nothing happened and I cleared my cache.

    • This reply was modified 3 years, 7 months ago by joujoumylove.
    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Since you’re using a third-party theme with WooCommerce, I would recommend contacting the theme developers to see if they can help you disable the zoom functionality.

    Hopefully that helps! Have a great one!

    Thread Starter joujoumylove

    (@joujoumylove)

    I did but they couldnt help me thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove zoom on shop images’ is closed to new replies.