Hello there, I would like to change the “Frequently Bought Together” title to my own but can’t get the exact file in the them files where I can change it from.
Please check the video tutorial to see how to save the translation file correctly. You can remove the plugin and translations would remain. Also, translations would remain after each theme update.
In order to translate the WooCommerce strings, you need to create a separate translation in Loco > Plugins > WooCommerce in the same way as shown in the video.
I tried the Loco plugin and added some custom translations but the strings weren’t changing on the front end.
I came up with this code but am not sure if it can work, if it does then the filter string I added might be wrong. But It also doesn’t work, maybe a simple tweak can make it work.
add_filter( ‘woodmart_frequently_bought_together_title’, ‘change_fbt_title’ );
function change_fbt_title( $title ) {
$title = ‘Complete the Collection’;
return $title;
}