How to move product tabs under the short description-Woocommerce

Mostly when the long description and additional information are short, you may want to move this block of content to the right hand side of the product image – as opposed to “waste” a lot of space underneath it. Here’s how you move the product tabs!

need website designer

Use the below code in function.php

</p>
<p>// Move product tabs</p>
<p>remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 10 );<br />
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 60 );</p>
<p>

oduct_summary’, ‘woocommerce_output_product_data_tabs’, 10 );<br />
add_action( ‘wooco

mmerce_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 60 );</p>
<p>

Leave a comment