How to remove custom tabs in Blanco. - by Rsalaberte

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

  • Avatar: Rsalaberte
    Rsalaberte
    Participant
    March 2, 2015 at 22:13

    Let me explain what´s my situation: I´m using Woozone to import products from amazon and according to the plugin author “AATeam” the amazon review tab dosen’t show up because of my theme.

    Their answer about not showing up the amazon reviews in my website was:

    We hook into the woocommerce tabs and your theme uses custom tabs in the template.Please check this with your theme developer.

    Can someone please tell me what to do to sort this out!! Can I remove or disable custom tags from my template?

    Appreciate some help
    Regards
    Renato

    6 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 2, 2015 at 22:23

    Hello,

    Maybe provide screenshot for our better understanding and highlight what exactly you want.

    Regards,
    Robert Hall.

    Avatar: Rsalaberte
    Rsalaberte
    Participant
    March 3, 2015 at 23:12

    Hi Robert,
    First of all thanks very much for your help.
    Unfortunatelly I am not able to make a print screen of the issue for reason unknown, but I will try explain as better as I can.
    If you please follow this link: , you will see four tabs originally: Description, Additional Information, Reviews (0) and Related Products.
    Using Woozone I can import from amazon pretty much everything that I wanted,from products, all king of products atributes, reviews etc. It is all set and working according to their developers unless the reviews. Instead show the “Reviews (0)” tab, should show the amazon tab for the product reviews or even both worst case senario.
    The AATeam developers checked my website and they told me what I wrote above. To be honest I don´t know much about coding, really hope this can help.
    Really apreciate
    Best Regards
    Renato

    V

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    March 4, 2015 at 11:32

    Hello,

    Do you need to remove Reviews tab?
    If so you can follow Woocommerce instruction http://docs.woothemes.com/document/editing-product-data-tabs/ how to remove tabs.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Rsalaberte
    Rsalaberte
    Participant
    March 4, 2015 at 20:05

    Hi Eva,
    I follow the instrutions and the tabs still there:
    My theme function.php with the code looks like it:

    <?php
    global $etheme_theme_data;
    $etheme_theme_data = wp_get_theme( get_stylesheet_directory() . ‘/style.css’ );
    define(‘ETHEME_DOMAIN’, ‘blanco’);
    define(‘ETHEME_OPTIONS’, ‘site_basic_options’);
    require_once( get_template_directory() . ‘/code/init.php’ );

    add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
    function woo_remove_product_tabs( $tabs ) {
    unset( $tabs[‘description’] ); // Remove the description tab
    unset( $tabs[‘reviews’] ); // Remove the reviews tab
    unset( $tabs[‘additional_information’] ); // Remove the additional information

    tab
    return $tabs;
    }

    Its weird but still not working. Curiously I have a problem with the arrows on the layer slider and if I add something above The first line “<?php” the arrow show up like it shoud be.

    Really need some help Eva and really appreciate what you have donne untill the moment.
    Regards
    Renato

    Avatar: Rsalaberte
    Rsalaberte
    Participant
    March 7, 2015 at 01:13

    Eva,
    Let me just thank you for being so helpefull.
    I manage to sort this out.
    Thanks again

    Avatar: Eva
    Eva Kemp
    Support staff
    March 7, 2015 at 10:33

    Hello,

    We’re glad you resolved the issue.

    Have a nice day!

    Regards,
    Eva Kemp.

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

The issue related to '‘How to remove custom tabs in Blanco.’' 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.