• Resolved katinkabencs

    (@katinkabencs)


    Hello there,
    I am using Sydney Pro and would like to adjust the tabs that are already offered by the theme.
    1) I would like to KEEP the Review tab that comes with built in functionality. Like it is here: https://www.katinka.org/shop/better-than-whole-wheat/
    As soon as I add the Custom Tabs the original Review disappears. I messaged WooCommerce whether there is a piece of code I could maybe add to the custom tab I create (called it reviews), but they said I need to reach out to teh developers of the plugin.
    2) I would like to GET RID OF of the tab called “Additional Information” that comes up when I create a “Variable Product”. Stragely, when i add the Custom Tabs this stays, while “Reviews” goes away…
    Please help!
    TThank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @katinkabencs,

    Here’s what you’re going to want to do. Delete that tab called reviews because this is going to override the default WooCommerce tabs.

    If you’re familiar with adding code to your themes functions.php I have a solution for removing the additional information tab. (If you’re not you could use this plugin: https://www.ads-software.com/plugins/my-custom-functions/ )

    add_filter( 'woocommerce_product_tabs', 'remove_product_tabs', 98 );
    function remove_product_tabs( $tabs ) {
        unset( $tabs['additional_information'] );
        return $tabs;
    }

    This code would go into your functions.php file or as Custom PHP in that plugin I referenced above.

    As far as the review tab goes. Please delete all instances of the Reviews Custom Tab that you’ve created. The only reason you’d want to name a tab the same name as a WooCommerce default tab is if you’re try to override that tab. In your case you could keep the reviews and use an external review plugin like YITH Reviews. However, if you’d like to use the built in WooCommerce reviews you’ll have to completely remove that tab from your site.

    Cheers,

    Freddie

    Thread Starter katinkabencs

    (@katinkabencs)

    Thank you so much!
    Yes, the Review tab came back with all its functionality as soon as I deleted mine! yay!
    I am asking my developer to do the PHP to get rid of the “Additional Information” tab and hope it will work just as well as teh Reviews trick.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Original Review Tab disappearing when applying custom tabs (Sydney Pro theme)’ is closed to new replies.