// Removes tabs from their original loaction
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
// Inserts tabs under the main right product content
add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 60 );
This code adds the table, but does not delete the old
Plugin Contributor
Tracy Levesque
(@liljimmi)
🏳️🌈 YIKES, Inc. Co-Owner
Hi @evgeniyzhu
This is a general WooCommerce question because WooCommerce defines where tabs are placed on a product page, our plugin just adds more of them.
WooCommerce has pretty good documentation on overriding the default theme files:
https://docs.woocommerce.com/documentation/plugins/woocommerce/woocommerce-codex/
https://docs.woocommerce.com/document/template-structure/
I believe this template and some of its subtemplates may be the one you need to edit:
https://github.com/woocommerce/woocommerce/blob/4.1.0/templates/content-single-product.php
I would also suggest posting/searching the WooCommerce forums because I imagine many people have asked this question before.
Thank you and stay well!
-Tracy