Home » WooCommerce: Remove Product Tabs, Show Long Description

WooCommerce: Remove Product Tabs, Show Long Description

by adminkys

Today we take a look at the WooCommerce Single Product page and specifically at how to remove the whole Product Tabs Section, and re-add the Long Description on its own (and not inside a tab).

WooCommerce: Remove Tabs & Display Long Description
WooCommerce: Remove Tabs & Display Long Description

PHP Snippet: Hide Product Tabs & Show Long Description @ WooCommerce Single Product Page

/**
 * @snippet       Remove Product Tabs & Echo Long Description
 * @how-to        Get tutoraspire.com FREE
 * @author        Tutor Aspire
 * @testedwith    WooCommerce 5.1
 * @donate $9     https://www.tutoraspire.com
 */
 
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
 
add_action( 'woocommerce_after_single_product_summary', 'tutoraspire_wc_output_long_description', 10 );
 
function tutoraspire_wc_output_long_description() {
?>
   

You may also like