Hello there,
The mentioned template is also used for email. In any case, to achieve what you need, please do the following:
- add this code in the functions.php file of your active theme:
if ( ! function_exists( 'yith_ywgc_email_description_text' ) ) {
function yith_ywgc_email_description_text() {
return '';
}
add_filter( 'yith_ywgc_email_description_text', 'yith_ywgc_email_description_text', 99 );
}
if ( ! function_exists( 'yith_wcgc_template_product_name_text' ) ) {
function yith_wcgc_template_product_name_text() {
return 'your_custom_name_text';
}
add_filter( 'yith_wcgc_template_product_name_text', 'yith_wcgc_template_product_name_text', 99 );
}
- you can remove the button from the plugin configuration, in Settings > General > Email settings > Show a button in the gift card email > set to disable
- you can also modify the introductory text from Email Settings > YITH Gift Cards – Gift Card Delivery > Introductory message.
Check it out and tell us any doubt, please.
Best regards.