The file responsible for generating the sidebar cart is mini-cart.php and is located in
woocommerce/templates/cart/mini-cart.php
What you do is you copy that file and paste it into
YOURTHEMEFOLDER/woocommerce/cart/mini-cart.php
Open up that file and edit line 40 where it contains
<?php echo $_product->get_image(); ?>`
Change that to
<?php echo $_product->get_image( array( 50, 80 ) ); ?>
50 is the width and 80 is the height. Change it to whatever size you want.
After you have done that make sure to clear your cache and restart your browser as sometimes the mini cart gets cached.
Related Posts:
- Get gallery and product gallery images full size
- How to Delete All regenerated thumbnails but keep the original ones?
- Using Advanced Custom Fields with WordPress and Lightbox
- WooCommerce Product Page Loop – Output All Product Thumbnails
- Sorting Woocommerce products with numeric titles [closed]
- Pages inside a page (with thumbnails)
- woocommerce stored variable
- Add padding while generating thumbnail
- show random image in loop if image is not set
- Closing the loop…featured image variable based on post id
- using wp_get_attachment_image_src in foreach loop
- How to print redux gallery feilds id? [closed]
- How to output thumbnail twice in a loop
- Multiple instances of Featured Image Thumbnail As A Background On Homepage
- Multiple images per post – Show random image elsewhere
- Thumbnail Image Rounded Corners w CSS (or any other good method)
- Display Multiple Photos as Featured Image when mouse moves on to it post
- Get gallery in loop through ajax
- Get a specific size from wp_get_attachment_image_src
- Does WordPress have a way of changing the ‘Natural’ size of uploaded images?
- Return only one post format in index.php [duplicate]
- Cant pull in featured Image
- resizes images on the fly
- Thumbnail of the latest posts page
- Advanced Custom Fields (ACF) Plugin – Random Image in Sidebar
- Building theme so user can change header image [closed]
- Is there a way to target only images within the loop?
- Change the way wordpress outputs images or image galleries
- How can I server scaled images?
- Loop doesn’t give the thumbnail the right parent (or class)
- Retrieve each widget separately from a sidebar
- image_resize in wp3.5 change to wp_get_image_editor and wont work
- how to upload image using wp_handle_upload
- Avoiding using a loop to access a single post
- Adding ‘current_post_item’ class to current post in the loop
- Can WordPress crop only the post thumbnails?
- WordPress remove EXIF Data from specific Thumb
- Where should I use post_class()?
- Landing Page – Redirect Loop?
- How to make multiple Column in archive Page?
- How to link to YouTube videos with thumbnails?
- Sort Popular Posts by Views for the Last Week
- Is it possible to display previous post revision?
- How to limit 1 image per post on homepage only?
- Flickr plugin that will display photos from multiple group pools? [closed]
- How to change ID of an attachment in wp_posts and its related tables correctly?
- Regenerate images with automatic ALT and TITLE attributes
- Adding shortcode closing tag after a loop
- Get Pagination (WP-PageNavi) not to work
- Filtering The Loop For Single Page and Blog Page
- the_content() seems to block my ACF-code
- Removing the_content() from the page
- Show featured image next to post-teasers in Genesis Framework?
- wp alchemy multiple image uploader output images to template
- Running a loop with a custom query string on a custom page template
- Complex query and posts pagination
- Displaying terms based on loop posts?
- Custom post type appearing within the previous one on archive.php
- How do I go about looping through a advanced custom field on a particular page inside of another page
- How to inject posts from certain category on home page
- The Loop – mixed ASC and DESC order
- Filter the_posts doesn’t work on search page
- Showing sticky posts with get_posts()
- Woocommerce showing images blurry in description page
- Pagination not working in category listing [duplicate]
- Calling the_excerpt from inside a plugin template file
- Bulk update wordpress posts
- Category links including all posts
- Custom loop ordering not working
- First archive page with a few posts
- Hiding a row in the loop if empty
- Disable globally “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” with Multisite
- Overwrite add_image_size defined by theme
- How can this multiple loop have pagination as described?
- Default featured image set as background image [closed]
- Breaking up the results of a loop
- Is file_exists() compatible with timthumb.php? [closed]
- Optimal image size for wordpress?
- Set depth of pages to fetch
- Trying to get all links in my posts
- Creating a User-Adjustable chart in WordPress
- unsharp thumbnails after uploading image
- Archive: Lists itself
- Reorder posts in a loop: have the posts by one particular author below the others
- How to execute a user loop with shortcode
- how to get author comment inside the loop?
- How to create loop in custom page, and get id from url into this loop?
- How to fix pagination for custom loops?
- Retrieving specific images from Media Library
- Is there any hook to change media html in post? [duplicate]
- Display single post inside accordion based on form submission results
- One page loop issue with posts
- using the loop on a page
- Images not showing and plugins not installing on wordpress server move
- Is there a WordPress Plugin like Imsanity that keeps high resolution originals? [closed]
- get_page() unlike Loop returns the post content without html tags. How can I fix this?
- Display all posts in a page code for template
- How to dispaly post informations (such as titles) in an admin plugin menu page?
- wp_mail function not working in user query loop
- How do i display the number of images on the “post screen”