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’ );