• I am trying to create a Woocommerce shop page that has all product info on the shop page, with no links individual product pages. I am almost there but I cannot for the life of me figure out how to call the product description (which is usually in the description tab on the single product pages).

    I am editing the content-product.php and so far I have

    <?php do_action( 'woocommerce_before_shop_loop_item' ); ?>
    
    	<div class="product">
    			<h3><?php the_title(); ?></h3>
    			<?php woocommerce_template_single_excerpt(); ?>
    			<?php woocommerce_template_loop_add_to_cart(); ?>
    	</div>
    
    		<?php
    			/**
    			 * woocommerce_after_shop_loop_item_title hook
    			 *
    			 * @hooked woocommerce_template_loop_rating - 5
    			 * @hooked woocommerce_template_loop_price - 10
    			 */
    			do_action( 'woocommerce_after_shop_loop_item_title');
    		?>
    
    	<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
    
    </li>

    It’s not the excerpt that I want to call, I have that already, it’s the product description (the content that is added to the first editor pane when creating a product in Woocommerce). I want it to be in a div of it’s own under the “product” div I currently have.

    If anyone can help I’d be very grateful.

    (I am editing on a local host)

Viewing 1 replies (of 1 total)
  • Thread Starter sianrd

    (@sianrd)

    Maybe it’s not possible? Seems strange to be able to call the excerpt with
    <?php woocommerce_template_single_excerpt(); ?>
    but not the longer description.

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce – Show Description Tab Content on Shop Page’ is closed to new replies.