Hi there,
Woocommerce doesn’t document it – but I do believe that Setting those sizes to 0
should remove the image.
If not then you can try adding this snippet to remove the sizes that woo generates:
function sr_remove_woocommerce_image_sizes() {
// Remove woocommerce copied sizes from default
remove_image_size( 'woocommerce_thumbnail' );
remove_image_size( 'woocommerce_single' );
remove_image_size( 'woocommerce_gallery_thumbnail' );
}
add_action( 'init', 'sr_remove_woocommerce_image_sizes', 99 );
Code found here: https://stackoverflow.com/a/63643876
Note the comment, it won’t remove existing images but will stop new ones being generated.