Gift Card for Magento 2
A virtual gift card product type with balance management. Customers buy a gift card and spend the balance at checkout.
Why choose Gift Card?
Gift cards bring in revenue up front and introduce your store to new customers. This extension adds a virtual gift card product type to Magento 2, so customers can buy a gift card like any other product and the recipient can spend the balance at checkout.
Balances are tracked and managed in the admin, so partial redemptions and remaining credit are handled for you. Best for: retailers who want a ready-made gift card option for holidays, birthdays and corporate gifting.
At a glance
| Module name | Mage2Expert_GiftCard |
|---|---|
| Composer package | mage2expert/module-gift-card |
| Settings | Stores › Configuration › Mage2Expert › Gift Card (12 options) |
| Admin menu | Marketing › Gift Card › Gift Card Accounts |
| Per store view settings | Yes |
| API | No custom endpoints (uses Magento's standard APIs) |
| PHP | 8.1, 8.2, 8.3, 8.4, 8.5 |
Installation
After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:
composer require mage2expert/module-gift-card
bin/magento module:enable Mage2Expert_GiftCard
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
Skip setup:di:compile and static-content:deploy if your store runs in developer mode.
Configuration reference
All 12 options under Stores › Configuration › Mage2Expert › Gift Card, grouped as they appear in the admin.
General Settings 6
| Setting | Description |
|---|---|
| Enable Gift Card | |
| Gift Card Code Length | Number of characters in auto-generated gift card code. |
| Gift Card Code Format | |
| Gift Card Lifetime (days) | Leave empty for no expiry. Gift card will expire after this many days from creation. |
| Allow Customer Message | |
| Message Max Length |
Email Settings 4
| Setting | Description |
|---|---|
| Enable Gift Card Email | |
| Gift Card Email Template | |
| Gift Card Email Sender | |
| Send Gift Card Email Copy To | Comma-separated. Leave empty to disable. |
Display Settings 2
| Setting | Description |
|---|---|
| Show Gift Card Balance on Cart | |
| Allow Multiple Gift Cards per Order |
Frequently asked questions
How much does Gift Card cost?
Which Magento and PHP versions are supported?
Where do I configure Gift Card?
Can I switch it off without uninstalling it?
Can the settings differ per store view?
Can it be customised for my store?
More Marketing
Related extensions
Reward Points
Reward customers with points for purchases and actions, redeemable as discounts on future orders.
Coupon Suggestions
Show customers the coupons that are valid for their cart, right at the discount field on cart and checkout.
Free Gift
Automatically add free gift products to the cart based on rules, cart value or products purchased.
Have a Magento project in mind?
Tell me about your store and what you need. I reply to every enquiry within one business day.
Adobe Certified Expert
Adobe Commerce Developer certification, verified on Credly.
15+ years of Magento
From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.
62 Marketplace extensions
Each one reviewed and approved by Adobe.