since the latest update, the product images in the cart are too big. They do not have thumbnail size anymore, but shop catalogue size (420x420px).
Could you please tell me how to fix this?
By default, it can’t be changed without additional customization in files.
Settings of these images you can change in Appearance > Customize > WooCommerce > Product Images > Thumbnail width.
Hm, no. What you describe is
Thumbnail width – Image size used for products in the catalog.
So if I change this from 420 to 100, all images in the shop catalogue page are just 100px. I had no problem with this until Royal version 6.
Starting with WooCommerce 3.3.0. WooCommerce removed the third option and left only 2: Single product and Thumbnails http://prntscr.com/owiccb
So, the product on the cart page uses the smallest of these 2 sizes – thumbnail size. You can enable default WooCommerce theme Storefront and check.
Optimize images using Tinypng https://tinypng.com/ to save up to 70%.
Yes I see, but the thumbnail size isnt just for the cart, but also for product listings on shop page. So I can not set it to 100px. It must be a bug somewhere else because it worked before updating to version 6.x.
Ok, got it. Changed the code in cart.php twice from to:
You can use this default size but copy changed file to child theme to avoid losing customization after the next theme update.
Yes, I did so. Thank you.
This topic will be closed. Please kindly open up new tickets for additional questions.
The topic ‘Product image in cart is too big’ is closed to new replies.
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty