Hello,
If you don’t want to edit images before uploading them to your media but want to get the equal height then use the crop option for the images (Customizer > WooCommerce > Product images > use the crop option). There is no other option in WooCommerce settings to make images the same height.
What about search bar screenshot?
Regards