Support » Plugin: WooCommerce qTML » TAB MANAGER ISSUE -> TAb title switch is not working

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Manos Psychogyiopoulos

    (@franticpsyx)

    Not related to this plugin!

    Please read the readme file 🙂 Please don’t expect this to fix every possible issue you might have magically.

    Thread Starter Simpas81

    (@laboratorio35)

    Why not? DO not woocommerce-qtml responsible for the translations inside woocommerce?

    Thread Starter Simpas81

    (@laboratorio35)

    Do you have a suggestion to adjust the issue for TAB manager? I can pay your service.

    Thanks
    S.

    Thread Starter Simpas81

    (@laboratorio35)

    I found a code that in the past solved the product title duplicated.

    add_filter(‘woocommerce_cart_item_name’, ‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’, 0);

    Do you think that this kind of code with a small adjustment can solve my issue about Titles Duplicated in TAB MANAGER?

    Please help to solve this my last ticket.

    Thanks
    S.

    Thread Starter Simpas81

    (@laboratorio35)

    how much to solve issue @franticpsyx ?

    Thread Starter Simpas81

    (@laboratorio35)

    for all people using mqTranslate for woocommerce and for the author, below the solution to add in functions.php:

    /*
    * Disable duplicated titles in product TAB manager
    */
    function wc_sv_mqtranslate_tab_title( $tabs ) {

    if ( function_exists( ‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’ ) ) {

    foreach ( $tabs as $name => $tab ) {
    $tabs[ $name ][‘title’] = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage( $tab[‘title’] );
    }
    }

    return $tabs;
    }
    add_filter( ‘wc_tab_manager_product_tabs’, ‘wc_sv_mqtranslate_tab_title’ );

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘TAB MANAGER ISSUE -> TAb title switch is not working’ is closed to new replies.