Site logo

Archived topic

WooCommerce

1 reply · Started by Mahmud on December 17, 2017

Viewing posts 1–2 of 2

I have been able to hide the Product Images in the Category Pages and the Product Page

// Remove image from product pages
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
.woocommerce-page #content div.product div.summary { width:100%; }

// Remove product images from the shop loop
remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );

However I now need to activate the Product Images for a ""specific"" WooCommerce Category - Images should appear in both the Product Archive Pages and the Single Product Pages? How do I do this? With GP Hooks?

This archived topic is closed to new replies.