In Work with WordPress Woocommerce if your client recommended to show Product Additional Information Tab content after product summary and dont want Additional Information Tab Dont worry just go through below article, add suggested code in your active theme functions.php file and it will work.
// Show Product Additional information tab content after Product summary on Single Page add_action ( 'woocommerce_single_product_summary', 'show_attributes', 25 ); function show_attributes() { global $product; $product->list_attributes(); } // Hide / Remove Additional Information tab on Product Single Detail page add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 ); function woo_remove_product_tabs( $tabs ) { //unset( $tabs['description'] ); // Remove the description tab //unset( $tabs['reviews'] ); // Remove the reviews tab unset( $tabs['additional_information'] ); // Remove the additional information tab return $tabs; }
Re-Order Product Data Tabs on Single Product Detail Page – WooCommerce
1st Remove WooCommerce product tabs from Single Product detail Page
function remove_woocommerce_product_tabs( $tabs ) { unset( $tabs['description'] ); unset( $tabs['reviews'] ); unset( $tabs['additional_information'] ); return $tabs; } add_filter( 'woocommerce_product_tabs', 'remove_woocommerce_product_tabs', 98 );
2nd Re-Order Product Tabs according your need
# add_action( 'woocommerce_after_single_product_summary', 'woocommerce_product_description_tab' ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_product_additional_information_tab' ); add_action( 'woocommerce_after_single_product_summary', 'comments_template' );
Remove tabs but keep product description on Single Product Page – WooCommerce
# 1 Remove tabs from Single Product Page in woocommerce remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); # 2 adds description to below price function woocommerce_template_product_description() { woocommerce_get_template( 'single-product/tabs/description.php' ); } add_action( 'woocommerce_single_product_summary', 'woocommerce_template_product_description', 20 );
Show Tabs above Add to Cart Button on Single Product Page
add_action( 'woocommerce_before_add_to_cart_form', 'woocommerce_output_product_data_tabs', 10 );
– Customize Single Product Page