How to move the woocommerce product long description text into the short description product layout with a couple of woocommerce actions and the long description tab removal.

Remove The Description Tab

This tab by default has the long product description.

The above will remove all 3 tabs just comment out which if any tabs you want to keep.

Remove The Product Short Description

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );

Add The Product Long Description

add_action( 'woocommerce_single_product_summary', 'ta_the_content' );

function ta_the_content() {
        echo the_content();
}

1 Comment

  1. Rochelle on November 24, 2020 at 12:37 am

    This really saved some time! I imported products from Shopify and all the product data came into the long description. There are 129 products, would have taken forever to move all that information!

Leave a Comment