Gift cards

Updated

A gift card is a product with a price, such as a $50 card. The buyer says who it’s for, and once the order is paid, that person gets an email with the card’s code. They type the code at checkout, and its balance comes off the order total. Whatever they don’t spend stays on the card for next time.

A gift card is store credit: it never goes through a payment provider, and nothing changes in your payment settings. It comes off after tax and shipping, the same as cash.

Nothing changes in your shop until you make a gift card product or a gift card.

Sell gift cards

  1. Go to Products → Add New, or edit an existing product
  2. Under Product data, tick Gift card. Tick Virtual too, unless you also post a physical card
  3. Set the Regular price: that’s what the card is worth. For several amounts, make a variable product with one variation per amount
  4. Optionally set Gift card expires after to a number of days. Leave it empty for cards that never expire
  5. Set Tax status to None: a gift card is paid for again when it’s spent, so it shouldn’t be taxed twice
  6. Select Publish

On the product page, buyers fill in To (the recipient’s email), From and a Message, and can pick a Delivery date. Buying several at once, they can type several emails, separated by commas, and each gets one card.

An order of only virtual gift cards completes as soon as it’s paid. An order with a card you post stays Processing until you mark it Completed, as usual.

What customers see

  • The email: a card with its amount, code, the buyer’s name and message, and when it expires. The code is in the email only, never in a link. Change its subject, heading and wording under WooCommerce → Settings → Emails → Gift card received.
  • Checkout: Have a gift card? opens a box for the code. The card shows in the order summary with what it takes off and the balance left after the order. Customers can use more than one card, and use coupons too. If the cards cover everything, no payment is asked for.
  • Cart: the cards applied so far, with what each takes off.
  • My Account → Gift cards: a signed-in customer can save a card to their account. Saved cards show with their balances, and at checkout Use my gift card balance spends them, soonest to expire first. A saved card works only for that customer.

A gift card can’t be used to buy another gift card.

Manage gift cards

WooCommerce → Gift cards lists every card with its balance, status, recipient, order and expiry date, and the total left to spend on active cards. Search by code, recipient or buyer.

Select a card’s code to open it. From there you can:

  • Change balance: type an amount to add, or a minus amount to take off, such as -10, and a note only shop staff see. A balance never goes below zero.
  • Turn off a card so it can’t be used, and Turn back on. The balance stays.
  • Change its Expires date, or empty it for a card that never expires.
  • Change the Recipient, and tick Email the gift card to this address to send it again. A card waiting for its delivery date has Send it now.

Every change, purchase, refund and account save is listed under Activity, with the date, the order and who did it.

To give someone a card without an order, such as a prize or an apology, select Make a gift card, enter the Amount and their email in To, and tick Email the gift card now.

Settings

At the bottom of WooCommerce → Gift cards:

  • Send scheduled cards at: the time of day a card goes out on the delivery date the buyer picked. Leave it empty to send at the time of day it was bought.
  • Copy gift card emails to: addresses that get a hidden copy of every gift card email.

Refunds and cancelled orders

What happens to the money on a card follows the order:

  • An order paid with a gift card is cancelled, fails or is refunded in full: everything it took goes back on the card.
  • Part refund: on the order’s screen, the Gift cards box has Put back on gift card. Enter the amount and select Put back. The card’s Activity and the order notes record it. To refund money paid some other way, use WooCommerce’s Refund button as usual.
  • An order that bought a gift card is cancelled or refunded: that card is turned off, keeping its balance. If the order is paid again, the card turns back on.
  • An order left at Pending payment for a day (the customer never finished paying) gives its cards back, with a note on the order. If it’s paid later, they’re charged again.
  • An order deleted for good that was never paid, such as one on hold for a bank transfer that never came, gives its cards back.

To add a card to an order you’re taking for a customer, open the order while it’s Pending payment or On hold, and enter the code under Gift cards → Add a gift card. The card is charged straight away and the order total goes down.

A balance can only be spent once: if two people check out with the same card at the same moment, only the first order takes what’s left, and the second is asked to check its total and try again.

Moving from WooCommerce Gift Cards

If the site used WooCommerce Gift Cards, Dirigible Store can copy its cards, gift card products and email settings. Customers keep their codes and balances, and past orders keep showing, refunding and cancelling as before.

  1. Go to WooCommerce → Gift cards. The Import from WooCommerce Gift Cards box shows when the site has that plugin’s data
  2. Select Check what will be imported. Nothing is changed yet: the box lists how many cards, their balances, the products and settings, and what will work a little differently
  3. Select Import gift cards
  4. Just before switching, select Check what will be imported and Import gift cards again, to pick up cards bought or spent since
  5. Turn WooCommerce Gift Cards off

While that plugin is on, its cards are the live ones and Store’s gift cards wait, so you can import first and switch when you’re ready. Its own data is only read, never changed. If a card is still spent after the last import, Store copies it again on the first visit after the switch, before taking a single order, so no balance can be spent twice. No emails are sent during an import.

How things carry over:

  • Every card keeps its code, balance, expiry date, recipient, message, delivery date and history. Cards saved to a customer’s account stay saved.
  • Gift card products keep their price and expiry.
  • Coupons and gift cards can now be used together.
  • A gift card always goes to the email in To: buyers who want it themselves type their own.
  • The code box is on the checkout. The cart lists the cards already applied.
  • Expiry reminder emails aren’t sent.
  • The email shows the amount and code without a picture.
  • Putting money back on a card after part of an order is refunded is recorded on the card and the order notes, without a WooCommerce refund or refund email.
  • Running the import again updates what it copied before and keeps cards you changed here since.

Once you’ve switched, leave WooCommerce Gift Cards off. It doesn’t know what was spent here, so while it’s on, a card could be spent twice. If it was turned back on for a while, what it spent comes off the cards here when it’s off again, and a balance never goes below zero.

Built by Dirigible Studio. Get in touch