WooCommerce Remove Product Images On Archive Loop

WooCommerce product archive template without images

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About this Solution

This code snippet will remove product images from the product loop item displayed on the product archive pages (categories/shop page/anywhere where products are shown).

				
					/**
 * Snippet Name:	WooCommerce Remove Product Images From Archive Loop Items
 * Snippet Author:	ecommercehints.com
 */

remove_action('woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
				
			

Snippet Benefits

  • If you products don’t have an image, remove the thumbnail from the archive loop using this snippet.
WooCommerce Conversion Rate Optimisation (CRO) eBook
100 WooCommerce Conversion Rate Optimisation Tips

Leave a Reply

If you are going to write code in the comments, please wrap it between code tags.

Your email address will not be published. Required fields are marked *

Other Recent Guides

Subscribe To Emails

Get exclusive WooCommerce tips that I only share with email subscribers

Join hundreds of other subscribers