I have problem with move product data tabs up. First I use function to remove tabs from current location. I use standard:
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
but it does not remove tabs. I was able to remove tabs only by code:
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;
}
But if I use this code, I can’t “add_action” with product tabs in other place.
To add tabs I use:
add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 33 );
Now tabs appear at the end of column. I want to move it up before grouped product thumbnails. How to do it?
all of the hooks are just functions so you nedd created a new function and included the product description code:
Now call do action function in your single product file of your theme.