Hello,
the following PHP code added to your child theme’s functions.php file:
add_action('wp_enqueue_scripts','remove_zoom_on_some_categories', 100);
function remove_zoom_on_some_categories(){
if ( ! strstr( $_SERVER['REQUEST_URI'], '/shop/product/product1/' ) && ! strstr( $_SERVER['REQUEST_URI'], '/shop/product/product2/' ) ) {
wp_dequeue_script('image_zoooom-init');
}
}
will enable the zoom only on the https://example/shop/product/product1/ and on the https://example/shop/product/product2/ products. Replace the URLs with the ones of the 2 products where you want the zoom to be enabled.