WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] [Plugin: WooCommerce] remove images from cart widget (4 posts)

  1. Andrea Fercia
    Member
    Posted 2 years ago #

    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...
    thx
    Andrea

    http://wordpress.org/extend/plugins/woocommerce/

  2. Lodewijk van der Pol
    Member
    Posted 2 years ago #

    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.

    Thanks!

  3. mikejolley
    Member
    Plugin Author

    Posted 2 years ago #

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

  4. jeffmcnear
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic