I am trying to merge the additional information tab with the description tab in woo commerce.
Basically the intention is to display information from both tabs side by side in possibly a 2 column layout where the first column displays the description and the second column the additional information.
Can this be achieved with a piece of code that can be placed in functions.php.
Thanks
Here is the way to make it (code is well commented):
Code goes in function.php file of your active child theme (or active theme). Tested and works.
I ended up taking a slightly different approach, basically just disabled the Additional Details tab and re-adding the content to
the_content
of the product (that is, the normal Description tab).Here is another option if you want the data in the tabs to be displayed sequentially instead of in two column format as answered above by LoicTheAztec. Below is the code drawing on the code in LoicTheAztec's answer
You can also refer to the link here: https://docs.woocommerce.com/document/editing-product-data-tabs/