• bikkembergz

    (@bikkembergz)


    I’m thinking to buy the pro version licence of plugin but before I need to be sure that plugin is working fine for my needs.

    I’m trying to customize email notification (I’m sending digital gift-cards).

    Checking Woocommerce Email section the “template” have only 3 customizable fields: Subject, Email Heading, Intro message.

    I need to edit/remove this text in the mail footer:

    You can redeem this gift certificate by entering the code in the appropriate field on the Shopping Cart page or by clicking on the following link to automatically apply the code to your next purchase.

    I tried to search it everywhere on plugin folder etc… but I couldn’t find it.

    Could you help me to edit this text? I need to replace it adding a customized text.

    Where I can edit it?

    Thanks!!`

Viewing 1 replies (of 1 total)
  • Hello there,

    We hope you are doing well ??

    In order to can customize the text you want you just need to insert the next code on your functions.php file inside your active theme folder.

    if ( ! function_exists( 'yith_wcgc_changing_text' ) && defined( 'YITH_YWGC_INIT' ) ) {
    	function yith_wcgc_changing_text( $object, $context ) {
    		$text_you_want = '';
    
    		update_option( 'ywgc_description_template_email_text', $text_you_want );
    	}
    	add_action( 'yith_wcgc_template_after_code', 'yith_wcgc_changing_text', 10, 2 );
    }

    Let us know if this solves your requirements.

    Have a good day!

Viewing 1 replies (of 1 total)
  • The topic ‘Email template customization’ is closed to new replies.