This can be done in Woocommerce settings. You can Change the Product Image sizes and choose if Woocommerce should hard crop your Images. After changing settings you need to recreate your Thumbnails. This can be done by a Plug-in called ,,Recreate Thumbnails”.
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.
‘@Tamer. This can, currently, not be done in storefront settings or the woocommerce settings
This can be done in Woocommerce settings. You can Change the Product Image sizes and choose if Woocommerce should hard crop your Images. After changing settings you need to recreate your Thumbnails. This can be done by a Plug-in called ,,Recreate Thumbnails”.