WooCommerce – Additional tabs between tyhe product description tab and the review tab

ashfem asked 4 years ago

How do i create additional tabs on the product page between the product description and the review tabs? I know adding attributes will give a similar effect but i would like an extra tab called “additionalProduct info” on its own tab

WooCommerce – Additional tabs between tyhe product description tab and the review tab was last modified: June 25th, 2015 by ashfem

Tip: Click on images to make them larger. If you find anything wrong on this page or need further assistance please comment below or contact me. 🙂

Please like, share and subscribe.

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

Cool People Share:
0 Answers
Maximus Mccullough Staff answered 4 years ago

You can add this function to create a custom tab. 
There is more information that can be found here http://docs.woothemes.com/document/editing-product-data-tabs/
 
If you are looking for a plugin for this you can find it here. http://www.woothemes.com/products/woocommerce-tab-manager/

add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );
function woo_new_product_tab( $tabs ) {
	
	// Adds the new tab
	
	$tabs['test_tab'] = array(
		'title' 	=> __( 'New Product Tab', 'woocommerce' ),
		'priority' 	=> 50,
		'callback' 	=> 'woo_new_product_tab_content'
	);

	return $tabs;

}
function woo_new_product_tab_content() {

	// The new tab content

	echo '<h2>New Product Tab</h2>';
	echo '<p>Here\'s your new product tab.</p>';
	
}
Answer for WooCommerce – Additional tabs between tyhe product description tab and the review tab was last modified: June 25th, 2015 by Maximus Mccullough

Tip: Click on images to make them larger. If you find anything wrong on this page or need further assistance please comment below or contact me. 🙂

Please like, share and subscribe.

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider a tip for the content.

One Time Tip

more tips

Reoccuring Tips

Tips

Cool People Share: