New Landing How can we help? Themeforest Theme Support Neighborhood How to change title of TAB inside product page

Viewing 7 posts - 1 through 7 (of 7 total)
  • #24680
    user_simone
    Member
    Post count: 63

    Please,

    how to change title of TAB inside product page.
    Picture attached.

    Thanks
    Simone

    #24684
    user_simone
    Member
    Post count: 63

    Woocommerce suggested me the code below ->

    add_filter( ‘woocommerce_product_tabs’, ‘woo_rename_tab’, 98);
    function woo_rename_tab($tabs) {

    $tabs[‘description’][‘title’] = ‘My Custom Tab Name’;

    return $tabs;
    }

    BUT is not working!!

    #24783
    user_simone
    Member
    Post count: 63

    found the file -> neighborhood/includes/swift-framework/sf-woocommerce.php

    But I have a small mistake to adjust.

    I need to change the title of TAB
    The problem is that when I change it for example from Description to Terms of Sale

    Then some CSS results modified and the theme is not working fine

    Why?
    How to change title without create issues?

    Screenshot attached.

    Thanks
    Simone

    #25077
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, you can modify

    description.php
    and
    additional-information.php

    for that ๐Ÿ™‚

    #25115
    user_simone
    Member
    Post count: 63

    Hi,

    instructions are wrong

    I went to wp-content/themes/neighborhood/woocommerce/single-product/tabs/additional-information.php but there is not any code about title of tabs.

    IT’s URGENT.

    #25462
    user_simone
    Member
    Post count: 63

    SOLVED

    #25736
    Melanie – SUPPORT
    Member
    Post count: 11032

    Great ๐Ÿ™‚

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register