Product tab, product page - by mleihs - on WordPress WooCommerce support

This topic has 8 replies, 3 voices, and was last updated 8 years, 8 months ago ago by Eva Kemp

  • Avatar: mleihs
    mleihs
    Participant
    August 19, 2015 at 17:45

    Hi,

    one more issue regarding translation issues.

    Best regards,

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 19, 2015 at 18:21

    Hello,

    You can add this code to theme-functions.php file in Child Theme

    add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
    function woo_rename_tabs( $tabs ) {
    
    	$tabs['description']['title'] = __( 'Inhalt' );		// Rename the description tab
    	return $tabs;
    
    }

    and this code into style.css to hide title:

    .tab-content h2{
    display:none;
    }

    Regards,
    Robert Hall.

    Avatar: mleihs
    mleihs
    Participant
    August 21, 2015 at 14:15

    Hi,

    thanks. That didn’t do the trick, though.

    Please see yourself!

    Best regards,

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 21, 2015 at 14:34

    Hello,

    You didn’t added code above to the theme-functions.php file in Child Theme.

    I’ve just added and it works perfect.

    Regards,
    Robert Hall.

    Avatar: mleihs
    mleihs
    Participant
    August 21, 2015 at 14:53

    Hi,

    uhm. I did. I’m not sure what happened here but thanks a lot!

    Is this part of the WooCommerce translation file structure?

    Best regards,

    Avatar: Eva
    Eva Kemp
    Support staff
    August 21, 2015 at 16:01

    Hello,

    Yes, this is part of Woocommerce configuration.
    Has your issue been resolved?

    Regards,
    Eva Kemp.

    Avatar: mleihs
    mleihs
    Participant
    August 21, 2015 at 17:36

    Hi,

    yes. It’s fixed due to a .php source mod and working fine. Thanks! If you could outline a way to do this using the .mo/.po path it would be highly appreciated.

    Best regards,

    Avatar: Eva
    Eva Kemp
    Support staff
    August 24, 2015 at 11:10

    Hello,

    We’ll try to include it in future updates.

    Sorry for inconveniences.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.