Add tab in short description
-
Hi, @jamesbil
Here you have a tutorial to do that:
https://businessbloomer.com/woocommerce-move-product-tabs-short-description/
Regards.
Thats good thanks. However I would like to place the tabs below the price.
How do I do that?Hi @jamesbil,
You can move content around the Single Product page of WooCommerce using
add_action()andremove_action()code snippets you can create.The WooCommerce template file of
content-single-product.phpshows where all the elements are hooked into usingadd_action().https://github.com/woocommerce/woocommerce/blob/master/templates/content-single-product.php
The article below should help offer some guidance on how to use these PHP actions.
https://www.cloudways.com/blog/reorder-content-on-woocommerce-single-product-page/
I hope this helps.
Thanks,
I think I actually need something different.
Beside the image I would like the description, additional info and reviews
So 3 tabs beside the image where the short description is.
Shod I be inserting some sort of module inside the short description box in product editor?Hi @jamesbil,
I think I actually need something different. Beside the image I would like the description, additional info and reviews. So 3 tabs beside the image where the short description is.
To move the default three product tabs of Description, Additional Information and Reviews in WooCommerce you can use the
remove_action()andadd_actions()code method to change where those display on the Single Product page.The action which displays the tabs is the
woocommerce_output_product_data_tabsone you’ll see in the template files referenced within my previous reply.What I am looking for is like this page
https://www.jamesdesign.co.uk/collections/cabinets/products/drinks-cabinet-with-sculpted-doors
So would it be a box or tab module with short description, additional info, reviews?
I have a shortcode for adding a tab module but don’t know how to populate it with info.
Hi @jamesbil,
To move the tabs to a new location on the product page you would need to use the method which I’ve described previously for you.
Thanks but I could not find the location of that file.
Also I thought it might be something else I need.
Not to just move the additional info tab, but create a module that shows short description in the first tab, then has other tabs for additional info etc.Hey @jamesbil,
To add additional tabs you could use an extension like WooCommerce Tab Manager which will allow you to create custom tabs.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
The topic ‘Add tab in short description’ is closed to new replies.