In this tutorial we’ll learn how to remove product images from product archive page. Fortunatley, we can achieve this by using one of woocommerce’s default hooks.
Here is our default product archive page:
Our team at Themelocation is comprised of WordPress developers of high expertise
- We can maintain, support and manage your single, or all your clients, website with dedication
- Our skills are at your disposal.
Now we need to remove these product images from this page.
To do this, add the following lines of code at the end of your theme’s functons.php file:
remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
You can access functions.php file here:
After saving the file, refresh the product archive page and you’ll see product images removed.