How to add 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.

View the code on Gist.

The above will remove all 3 tabs just comment out which ones 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();
}

Share:

Leave a Reply