HI @saskiaherm
It looks like you are using a custom plugin to hide the product thumbnails on the cart page. Since this is a third-party plugin, contacting the plugin’s developers for further assistance would be best: .
Additionally, to hide product images from the cart page, simply add this code to your theme’s functions.php file:
add_filter( 'woocommerce_cart_item_thumbnail', '__return_false' );If you want to hide the product images from other pages as well, such as the checkout page, you can add the following code snippet to your functions.php file:
add_filter( 'woocommerce_cart_item_thumbnail', '__return_false' );
add_filter( 'woocommerce_checkout_cart_item_thumbnail', '__return_false' );I suggest checking out this tutorial for more help:
I hope this helps! Thanks!
Hi Saskia ,
Thanks for reaching out!
I understand that you are using this third-party plugin to hide images from your product page however the product images are still being displayed on pages where the [woocommerce_cart] shortcode is used, is this correct?
Since support related to a third-party plugins/themes is outside our scope of support, I’d suggest reaching out to the plugin developers to see if their is any option/workaround that will hide images on the cart page.
You can try the code provided above and see if that works for you. Also, please add that code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin.
We recommend not adding custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.
This being said, I will go ahead and mark this as resolved, however feel free to create a new topic if you need further help with WooCommerce Core 🙂
Cheers!
