Ask for a feature

Gift Card For Magento 2

The extension Magento2 Gift Card will allow the admin to create gift cards/certificates using the gift card product type. The admin can directly create multiple numbers of gift cards as products. This extension is useful for those who want to gift something to their friend, relative or a person electronically.

Features – Magento 2 Gift Card

  • Gift card product type included ensuring a smooth creation of gift cards via admin panel.
  • The admin can create multiple numbers of gift cards.
  • Gift card users can use complete or a certain amount of the gift card to make purchases.
  • Gift card users can use one gift card on multiple purchases.
  • Gift card user will get email notifications after each gift card usage.

Installation – Magento 2 Gift Card

Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento 2 root directory on the server as shown below.

After the successful installation, you have to run these commands in the Magento2 root directory.

First command- php bin/magento setup:upgrade

Second Command – php bin/magento setup:di:compile

Third Command – php bin/magento setup:static-content:deploy

After running the commands, you have to flush the cache from the Magento admin panel by navigating through ->System->Cache management as shown below in the snapshot.

Multi-Lingual Configuration

For Multilingual support, please navigate to Store>Configuration>General >Locale Options. And select your desired language from the Locale option.change language-magento 2 locale

Language Translation

If you need to do the module translation, please navigate to the following path in your system app/code/Webkul/GiftCard/i18n.
Open the file named en_US.CSV for editing as shown in the below screenshot.

Magento2 Change CSV language file

Once you have opened the file for editing. Replace the words after the†comma(,)†on the right with your translated words.

Magento2 Change Language

After editing and translating the CSV file, you need to save the translated file name according to your region language and country code such as – de_DE.CSV. Then upload the translated file to the same folder from where you have obtained it. Now your module translation is complete.

Magento2 Change CSV Language file

Configuration – Magento 2 Gift Card

After the successful installation of the module, the admin will navigate to Products -> Catalog. Here the admin will create the gift cards by selecting the “Gift Cardproduct type as per the snapshot below.


Clicking the “Gift card” will bring up the page to add a Gift card. Now, enter all the required information as is required for a regular product as shown below in the snapshot below.


Frontend Workflow – Magento 2 Gift Card

At the front end, on the gift card product page, the customer enters the e-mail address of the person to whom the gift card should be sent and then clicks the “Add to Cart” to go for the checkout as per the below snapshot.

Note –  The email id that is entered under the “Email To” can be used to redeem the gift card. Also, the user that is going to redeem the gift card should use the same email id for registering at the store else he won’t be able to redeem the gift card.


The customer can see the details of the gift card on the Order Review page as per the below snapshot.


After the order has been placed, now when the invoice for this order gets generated, the person(whose e-mail address was entered) will receive the gift card on the same email address as shown below in the snapshot.


Now, when this customer(receiving the Gift card code) makes a purchase using the account that’s registered using the same email address(on which the Gift card is sent) he can redeem the gift card amount at the cart page as shown below in the snapshot.

After applying for the discount, the cart page looks like as shown in the snapshot below.

You can also clear the discount, cancel the coupon, or change the discount amount as per your need. Here it depends on the customer what amount he wants to use via the gift card. Example: If the customer has a gift card of $1500 worth, then he can make use of all of it or use some of the amount like $100 and keep the rest to use at a later time.

After completing the above-shown order, the customer will be able to see the Order details under “My Order” section as shown below.

Admin can find all the gift cards purchased and their information by navigating to Gift Card -> Gift Card Details.


That’s all for the Magento 2 Gift Card still have any issue feel free to add a ticket and let us know your views to make the module better

Current Product Version - 2.0.0

Supported Framework Version - 2.0.x, 2.1.x

. . .

Ask a Feature