Hello,
Go to WooCommerce > Settings > Product > Display > set the size of product images you need and uncheck hard crop option https://docs.woocommerce.com/document/using-the-appropriate-product-image-dimensions/
Don’t forget to regenerate thumbnails after changes.
Regards