Hi,
I’m using this snippet
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 30 );
But it doesn’t remove the product data tabs from its original position.
Is there any theme’s file I need to edit?
Thanks!
Hi senso!
Please look at the following snippet here:
https://gist.github.com/jameskoster/5133466
and let us know if that helps you out.
Thanks a lot for your time
Best regards,
Basilis
Hi Basilis,
Certainly not. That snippet is to remove the product tabs. I’d like to move it, not remove it. In addition to that, not hiding it using CSS.
Hi!
Where do you want to move the product tabs? Please use this code instead:
//move product tabs
add_action('init', 'init_mod', 10);
function init_mod() {
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 20 );
}
Regards,
Ismael
That works perfectly Ismael! Thanks!
Hi!
glad you got it short out.
Please do let us know if you need anything else regarding our themes, we will be more than happy to assist you.
Best regards,
Basilis