This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Robert Hall
I have added the following code to my functions.php; however, the “Additional Information” tab is not renamed as “Shipping Data”. I followed the instructions at http://docs.woothemes.com/document/editing-product-data-tabs/?utm_source=support%20website&utm_medium=woothemes%20referral&utm_campaign=standard%20links&utm_content=/community-forum/questions/05-woocommerce/additional-information-hook&utm_term=https://support.woothemes.com/hc/communities/public/questions/201982325-Additional-information-hook-?locale=en-us
// Trying to rename the Additional Information tab as “Shipping Data”
add_filter( ‘woocommerce_product_tabs’, ‘woo_rename_tabs’, 98 );
function woo_rename_tabs( $tabs ) {
global $product;
if( $product->has_attributes() || $product->has_dimensions() || $product->has_weight() ) { // Check if product has attributes, dimensions or weight
$tabs[‘additional_information’][‘title’] = __( ‘Shipping Data’ ); // Rename the additional information tab
}
return $tabs;
}
Hello,
In this case you need contact to WooCommerce support team and their specialists will look into this issue more deeply.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up