All TB Loyalty & Rewards docs
- TB Loyalty & Rewards
- Docs
- Migration guides
Move Shopify gift cards to WooCommerce
Import Shopify gift cards into WooCommerce with the same balance, expiry and owner. Shopify never exports full codes, so each card gets a new one.
Shopify protects gift card codes: after a card is created, nobody, not even the store owner, can see the full code again. The admin export and the GraphQL GiftCard object only give the last characters. The balance can move to WooCommerce; the code cannot. This is in the free plugin.
Steps
- 1
Export from Shopify
In Shopify admin go to Products → Gift cards → Export. Choose all gift cards and CSV.
- 2
Upload and dry run
In WordPress open WooCommerce → Loyalty & Rewards → Import & Migrate, choose Shopify gift cards and upload the file. The dry run shows how many cards and how much value you are taking on.
- 3
Import
Each card is created with the same balance, expiry date and owner and a new code. The old last 4 characters are saved on the card.
- 4
Tell the owners
With Pro, tick “Email customers their new gift card code” and each owner gets their new code in the background. On the free plugin, export the list and send it yourself.
Columns we read
Id, Last Characters, Customer Name, Email, Recipient Name, Recipient Email, Order Name, Date Issued, Expires On, Initial Balance, Current Balance, Currency, Expired?, Deactivated At, Note. You choose whether expired and deactivated cards are skipped.
When a customer asks about their old card
The old last 4 characters are saved on each new card, so support can match “my card ending in 7KQ2” to its new code.
If you do have the full codes
Cards from Rise.ai, or codes you kept in your own records, keep their codes. Use the Rise.ai import in Pro or the free CSV import with a code column.