×

 

Home Contact Us Payments SC Commerce SC Commerce Docs SC Commerce Snippets

Simply Computing

We make websites. Simple.

Add short description to category page

The category (archive) page normally doesn’t show the short description, just the title and price. If you want to add this to provide more information use the following code.

		/**
 * Add short description to category page
 */

add_action('woocommerce_after_shop_loop_item', 'cc_excerpt_in_product_archives', 40);

function cc_excerpt_in_product_archives() {

  the_excerpt();

}
	
   View Raw Code ID: 9885