• Hello and thanks for your plugin!
    I am trying to create a custom email template in HTML/PHP, how can I get variables like
    – sender name
    – recepient name
    – message
    – coupon number ?

    Thank you in advance!

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

    Thanks for contacting us, I hope you are doing well ??

    If what you want is to create a custom email, what you can do is copy the files located in the path “wp-content/plugins/yith-woocommerce-gift-cards/templates/”, in the path “wp-content/themes/your_active_theme/woocommerce/” paste the files with their respective subfolders and make the modifications to those files.

    Among them you can find the file “ywgc-gift-card-template” located in the subdirectory “yith-gift-cards” in which you can access the variable $message that contains the message of the Gift Card and you can access the code of the Gift Card through the variable $gift_card_code.

    Any other changes you want to make please let us know and we will try to help you.

    Let us know any news, please.
    Have a nice day!

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