Home Forums WoodMart support forum Side Cart – Mini Cart – Product Images Size

Side Cart – Mini Cart – Product Images Size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #206948

    lifeofmack
    Participant

    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.

    #207000

    Hello,

    Thank you very much for sharing your code and suggestion. It may be very useful for the forum community.

    Best Regards

    #207046

    lifeofmack
    Participant

    Will this be included in the next update so I dont have to look into it when updating the theme? 🙂

    #207179

    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

Viewing 4 posts - 1 through 4 (of 4 total)