General information regarding email sent with Gift Cards plugin

For all gift cards configured as a “virtual” product, coupon codes are sent to the user by email.

Email sending occurs as soon as the payment has been made, unless the user selected a specific date (during the purchase) for the delivery of the gift card.

Gift card code in email

Right inside the “Gift Cards” section, you can check the email status. The system will notify if the email has been sent correctly or if an error occurred.

Gift card list

In both cases the plugin allows you to resend the email.
You can also resend an email from the order details page, in this case the email will be resend for all the gift cards included in the order.

Gift card resend code

The email with coupon code will be sent to the recipient specified during the purchase.

By enabling the “BCC email” field(s) in the option dashboard, a copy of that email will also be sent to site administrator and/or buyers.

bcc email

How to customize emails sent using Gift Card plugin

The plugin adds two kinds of emails along with the WooCommerce default ones:

  • Dispatch the coupon: send the digital gift card to the email address selected during the purchase
  • Notification: an email sent to the customer when the purchased gift card has been used

Just like for any WooCommerce email, you can enable, disable or edit some of their settings from WooCommerce -> Settings -> Emails.

Email settings

How to override email templates?

Dispatch the coupon

To override and edit this email template, copy yith-woocommerce-gift-cards-premium/templates/emails/send-gift-card.php to your theme folder: yourthemefolder/woocommerce/emails/send-gift-card.php.


To override and edit this email template, copy yith-woocommerce-gift-cards-premium/templates/emails/notify-customer.php to your theme folder: yourthemefolder/woocommerce/emails/notify-customer.php.

PDF attachment

By enabling the “Attach PDF” option, a pdf file will be attached to the gift card code email, so the users are able to download the gift card.

attach pdf email

The user will find the PDF of the gift card template in the email as an attachment.