Hello,
To manage the size of the product images go to Appearance > Customize > WooCommerce > Product Images > use crop option to get all the images with the same size. But we would recommend you to upload images with the same proportion for all the products instead of cropping, then grid looks much better.
Regards