Some tabs not shown in “Single Product Tabs”

This topic has 7 replies, 3 voices, and was last updated 2 days, 21 hours ago ago by iRockPod

  • Avatar: iRockPod
    iRockPod
    Participant
    May 9, 2025 at 14:32

    Hey!

    I inserted the widget “Single Product Tabs” in my single product page. I added two items: additional information and reviews. In editing mode it looks fine and both tabs are shown. But in live mode only one tab (reviews) is shown. I also tried with my mobile device and it shows only reviews tab.

    I would like that both tabs, which I added, are shown in live mode. Please see screenshots.

    Thanks for your help!
    Cheers
    Patrick

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    6 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 9, 2025 at 16:12

    Dear @iRockPod,

    We hope this message finds you well.

    Could you kindly test the issue by temporarily disabling all third-party (not required) plugins? This will help us determine whether the problem is being caused by a conflict with another plugin.

    If the issue persists after this step, please let us know. We will then proceed to investigate further by connecting to your FTP and examining the files in detail.

    Thank you for your cooperation.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: iRockPod
    iRockPod
    Participant
    May 10, 2025 at 00:06

    I did disable all 3rd party plugins (remaining activated plugins see screenshot), but the problem persisted. I then switched from my child theme to the parent theme and it worked. It is properly showing both tabs in the parent theme. But I am unsure if its safe to use the parent theme? And I would also have to update/redo a lot of work. So my question is how to fix it in my child theme? Thanks!

    Files is visible for topic creator and
    support staff only.
    Avatar: iRockPod
    iRockPod
    Participant
    May 10, 2025 at 10:19

    Just for your info: I also deleted all functions.php code and my custom CSS – this didnt work either. Only changing to parent theme did the job.

    Avatar: Justin
    Luca Rossi
    Support staff
    May 12, 2025 at 10:44

    Dear @iRockPod,

    We’ve applied the hotfix under your functions.php file locates in your XStore child theme and the Additional information is displaying now.

    add_filter('woocommerce_product_tabs', 'n2t_product_tabs', 999);
    function n2t_product_tabs($product_tabs){
    	$product_tabs['additional_information'] = [
            'title' => 'Additional information',
            'priority' => 20,
            'callback' => 'woocommerce_product_additional_information_tab'
        ];
    	return $product_tabs;
    }

    Could you please have a look?

    Thank you!

    Avatar: iRockPod
    iRockPod
    Participant
    May 12, 2025 at 11:08

    This is great, it works now! Thank you Luca! 🙂

    Avatar: iRockPod
    iRockPod
    Participant
    May 12, 2025 at 11:08

    Thanks for the support! My topic “Some tabs not shown in “Single Product Tabs”” has been successfully resolved.

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

The issue related to '‘Some tabs not shown in “Single Product Tabs”’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

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