Support » Plugin: WooCommerce » [Plugin: WooCommerce] remove images from cart widget

  • hi,
    is there any option to show/hide product images from the shopping cart widget? I just want to show the cart widget without images 🙂

    I got it to work extending the WooCommerce_Widget_Cart class (just to remove one line of code!) then unregistering the widget and registering a new one, but I was wondering if there is any easier method…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Andrea,

    Did you find an easier method?
    I want to get rid of the product image thumbnails in the sidebar widget as well (or of possible, I would like to change the thumbnail sizes in this wdiget).
    I’m not that familiar with the coding of WooCommerce, so it would be really nice if you could help me out here.


    Plugin Author Mike Jolley


    1.6.2 adds a template for the mini-cart – you’ll be able to override this and customise the HTML.

    I just puzzled this out this morning!

    With WooCommerce you can copy the files in the “template” folder in the plugin into a folder you create under your theme structure named “woocommerce” – these files will then over-ride the plugin files

    take the file you find at templates/cart/mini-cart.php – copy it into the “woocommerce” folder in your theme and delete the “get_image” code found at about line 34

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WooCommerce] remove images from cart widget’ is closed to new replies.