that should have done it. because that is where the text is coming from.
make sure you have uploaded the file and did not just change it locally.
If you are trying to change those words in the WooCommerce cart then that is outside of the plugin. you can try this see if it helps you
Modify below to fit your needs and add the whole thing at the end of your functions.php file in your theme directory. Hope it works.
function replace_content_on_the_fly($text){
$replace = array(
// 'words to find' => 'replace with this'
'wordpress' => '<a href="https://www.www.ads-software.com/">wordpress</a>',
'google' => '<a href="https://www.google.com/">excerpt</a>',
'function' => '<a href="#">function</a>'
);
$text = str_replace(array_keys($replace), $replace, $text);
return $text;
}
add_filter('the_content', 'replace_content_on_the_fly');
add_filter('the_excerpt', 'replace_content_on_the_fly');