How to remove product images from archive page in Woocommerce?

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:

woocommerce

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:

woocommerceSave the file by clicking update filebutton.

After saving the file, refresh the product archive page and you’ll see product images removed.

woocommerce

CHEERSJ

Waqas

I hope you enjoy reading this blog post. If you want my team to do WooCommerce Maintenance for you, click here.

Leave a Comment

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