Useful Snippets

Add Product Description(Excerpt) to Product Category Page

Pinterest LinkedIn Tumblr

Sometimes we want to show some info on product category page, regardless of how much space it allocate. You can use the code below to add product excerpt on your category, archive page.

Please add this code to your functions.php file or use Code Snippets plugin.

// This action will help you to add excerpt to the product archive page

add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_single_excerpt', 20 );

Write A Comment