• Resolved ontargett

    (@ontargett)


    Hi there,

    I need to change the following text that is located at the bottom of the email when a gift voucher is sent, this is what it currently says:

    “To use this gift card, you can either enter the code in the gift card field on the cart page or click on the following link to automatically get the discount.”

    I need it to read:

    “To claim your game of golf please call the golf course and book your tee time direct”

    Where can I change this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    hope you are doing well! ??

    You can change this text adding the next code in the functions.php of your active theme, could you check it, please?

    if(!function_exists('ywgc_description_template_email_text_custom')) {
    
        function ywgc_description_template_email_text_custom(  ) {
    
            update_option( 'ywgc_description_template_email_text', __( 'To claim your game of golf please call the golf course and book your tee time direct', 'yith-woocommerce-gift-cards' ) );
    
        }
        add_action( 'init', 'ywgc_description_template_email_text_custom' );
    }

    Let us know any news.

    Have a nice day!

    Thread Starter ontargett

    (@ontargett)

    Hi there,

    Thank you for your response.

    I have copied and pasted this into the fucntion.php file by going to:

    Appearance > Theme Editor > functions.php

    But it returns this error message:

    “Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”

    Could you let me know what I need to do please

    Thank you for your help so far

    Thread Starter ontargett

    (@ontargett)

    I have managed to do this, did it via the file manager on cpanel.

    Thanks for your help, really appreciate it

    Thanks
    Chris

    Plugin Author YITHEMES

    (@yithemes)

    Hello Chris,

    Great, you are welcome! ??

    We are happy to help you with anything you need and don’t hesitate to contact us.

    Have a nice day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove bottom part of Gift Card Email’ is closed to new replies.