Side Cart – Mini Cart – Product Images Size
-
The side cart is really nice but i noticed its using the 600×600 image source, when its only displaying a small image about 100x100px.
This file
wp-content/themes/woodmart/woocommerce/cart/mini-cart.php
The lines 63 & 66.
Current its using:
$_product->get_image()
Shouldn’t we use :
$_product->get_image($size = 'woocommerce_gallery_thumbnail')
This way the images will load 150×150. Which is a big improvement in image sizes. It would be even better if we can make them 100×100.
Hello,
Thank you very much for sharing your code and suggestion. It may be very useful for the forum community.
Best Regards
Will this be included in the next update so I dont have to look into it when updating the theme? 🙂
Hello,
This image file is the copy from Woocommerce which we have modified a bit.
Woocommerce does not specify the size, Woocommerce thumbnail has been applied.
Best Regards