Waqas

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

How to remove product images from product detail / single product page?

In this tutorial we’ll learn how to remove product image from product detail / single product page.

Fortunately, we can do this by using one of woocmmerce’s default hooks.

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.

Book a Call

Here is or default product detail page:

woocommerce

Now, we need to remove product image from this page.

To do this, add the following lines of code at the end of your functions.php file:

remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );

You can access functions.php file here:

woocommerce

Save the file by clicking on update file button after putting your code.

Now if you go to / refresh product page again, you’ll see product image removed.

woocommercejpg

CHEERS J

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 *