discount sale
  • Days
  • Hrs
  • Mins
  • Secs
20% Off

Use coupon code 'SDS20' Limited Offer!!

Home > Docs > WooCommerce Gift Cards > How to Attach a WooCommerce Gift Card as a PDF

How to Attach a WooCommerce Gift Card as a PDF

Last updated on October 5, 2026

With the WebToffee WooCommerce Gift Cards plugin, you can attach the gift card as a PDF to the gift card email, so recipients can save or print it. Here’s a quick overview:

  1. Go to Email settings.
  2. Install and activate the mPDF add-on.
  3. Enable Attach Gift Card as PDF.
  4. Optionally, edit the Gift card additional text shown on the PDF.
  5. Click Save.

Prerequisite

The plugin needs the free mPDF add-on for RTL and Unicode Support by WebToffee to create PDFs. You can install it from the plugin’s Email settings tab, as shown below.

Attaching gift card as PDF

  1. From the WordPress dashboard, go to Gift Cards > General settings > Email settings. If you use the plugin with Smart Coupons for WooCommerce, go to Smart Coupons > Gift cards > General settings > Email settings.
WooCommerce Gift Cards - Email settings
WooCommerce Gift Cards – Email settings
  1. Attach Gift Card as PDF stays grayed out until the mPDF add-on is active. In the notice below it, click Click here to install the add-on.
  2. After the add-on installs, click Click here in the notice again to activate it. If you have an older version of the add-on, the notice asks you to update it instead.
  3. Enable Attach Gift Card as PDF.
WooCommerce Gift Cards – Email settings
  1. Click Save.

Once a gift card is sent, the recipient will receive the following email.

WooCommerce Gift Cards -  Recipient mail
WooCommerce Gift Cards – Recipient mail

Customize the text on the PDF

The PDF shows a line telling the recipient how to redeem the gift card. You can change this text on the same tab:

  1. Go to Gift Cards > General settings > Email settings.
  2. Edit the Gift card additional text field. By default, it reads: “To redeem this gift card, you can enter the gift card code in the dedicated field during checkout %s.”
  3. Click Save.
Gift card additional text
Gift card additional text
ⓘ

Note: Purchasing a gift card does not automatically add its value to the customer’s store credit balance. To reflect the value in the customer’s store credit, the customer must redeem the gift card from the profile(My Account > Store Credit). Once redeemed, it will appear on the user’s store credit balance and manage store credit page.

Also, note that it is not necessary for the customer to redeem the gift card into the store credit balance. They can directly use the gift card at checkout, just like a normal coupon.

If you want to add store credit to a customer’s credit balance directly, you can do that from the Manage Store Credit tab.