Move WooCommerce Product Long Description Into The Short Description Product Layout

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();
}

3 Comments

  1. Rawny on November 15, 2021 at 1:54 pm

    Thanks.. for this mate!

    One question though how do I strip the short description to just few lines, words or Characters (250) ?

  2. Lu on October 14, 2021 at 11:31 am

    wow, i don’t even know how to explain how grateful i am for this.
    thank u so so much!

  3. 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 all Comment