coffee and pastries on a table

Guide to Selling Digital Gift Cards in WooCommerce

coffee and pastries on a table

There are a myriad of reasons to sell digital gift cards on your website right now. This guide is for anyone who has a WooCommerce shop and would like the recipe for adding gift cards to their website themselves. The specific product we’ll set up is a gift card that offers a handful of set amounts and the ability to enter a custom amount, just like the gift card our friends at Linea Caffe are offering.

Linea Caffe Gift card and custom gift card

The Ingredients

  1. Your WooCommerce website
  2. A license to Smart Coupons ($99/year)
  3. A license for Name Your Price ($49/year)

Note: This guide was written in December of 2020 and is based on WooCommerce 4.7.0, Smart Coupons 4.12.2, Name Your Price 3.1.7, and a deep desire to help small businesses right now. We’ll all get through this together!


Install Plugins

  1. Purchase the two plugins linked above.
  2. Download the .zip files (these should be available from your receipt).
  3. Log in to your website’s dashboard and go to Plugins > Add New.
  4. Click Upload Plugin.
  5. For each, click Choose File and select the plugin file from your computer.
  6. Click Install Now.

Brand Alignment

Before creating your gift card product, let’s be sure to take time to craft the visual design and language to match your brand.

  1. Go to WooCommerce > Setting > Smart Coupons.
  2. Choose from the pre-selected colors or add your own brand colors.
  3. Choose a coupon style and double check the colors align for the style for email.
  4. Choose where you want customers to see their optional gift cards and coupons.
  5. Update the language under Label. This adjusts the words used throughout your website. We tend to use clear language, such as Gift Card and Available Gift Cards & Coupons.
    We use wording like "Gift Card" for our labels
  6. Under Coupon Receiver Details during Checkout be sure that both Allow the buyer to send coupons to someone else and Enable this to allow buyers to select date & time for delivering the coupon are checked.
    It is important to allow buyers to choose the date they send their gift cards
  7. Click Save changes.
  8. Now head up to the Emails tab. Make sure that your brand colors and logo are entered at the bottom of the page. This will make sure that your transactional emails (including Gift Card notifications) are aligned with your brand.

Set Up Gift Card

  1. Log in to your website’s admin area.
  2. Head to Marketing > Coupons.
  3. Click Add coupon.
  4. Add a title with no spaces (ex: GiftCertificate).Screenshot of coupon admin area
  5. For Discount Type, choose Gift Card.
  6. Leave Coupon Amount blank.
  7. Check the box for Coupon Value Same as Product’s Price?
  8. Optionally, enter a prefix or suffix.
  9. Click Usage limits.
    Be sure to adjust the usage to 1
  10. Set Limit per user to 1.
  11. Save your coupon.

Set Up Product

  1. Head to Products > Add new.
  2. Fill out the Product name, description, Product category, Product image.
  3. Head to Product data and choose Variable Product from the drop-down.
  4. Under Coupons, search for your coupon name (ex: GiftCertificate).
  5. Head to Attributes, select Custom product attribute and click Add.
  6. Name the attribute (ex: Amount).
  7. Set values separated by a vertical pipe (ex: 10 | 20 | 50 | Custom). When choosing amounts, be sure that the lowest amount you offer is realistic for purchasing something on your website.
  8. Make sure Visible on product page and Used for variations are checked.
  9. Click Save attributes.
  10. Head to the Variations tab and chose Create variable from all options.
    Check the drop-down
  11. You will see a variation for each amount you created. You can click on these to edit the individual variation.
    It is easy to miss that you can click the individual variants
  12. For each variation, add the amount of the Gift Card and check Virtual (which keeps customers from being charged shipping for the gift card).
  13. For the Custom variable, check the box next to Name Your Price.
    Don't forget to check "Name Your Price"
  14. Publish your gift card and start selling.


Once the orders start rolling in, you might wonder what the customer experience is all about. In a nutshell:

  1. Customers add your gift card to their cart and pay through your usual checkout.
  2. They can choose to either send the gift card to themselves or  someone else.
  3. They can also choose when the email goes out to the gift recipient.
  4. Gift givers will also get a Gift Card sent Successfully! email.
  5. Joy will abound!

We wish you every ounce of luck, good fortune, and success in this holiday season. Go get ’em!

Kandace Brigleb

Producer, co-founder of Needmore. Currently residing on the left coast.