Magento 2 Gift Cart

The Documentation


After downloading the package, please proceed with the following steps:

Step 1:

Please unzip the archive.

Step 2:

Disable cache at System -> Cache Management.

Step 3:

Unload the contents of the module package to the Magento root folder. This will not over write the existing Magento files, only the new contents will be added.

Step 4:

Using SSH, go to Magento root folder and run command below:

1. Run command to update database : php bin/magento setup:upgrade

2. Run command to deploy : php bin/magento setup:static-content:deploy

Step 5:

Refresh your admin user access rights: log out from your store admin and then login back. Next, please Enable Cache.

1. Settings

Go to the CMSIDEAS -> Gift Cart -> Settings
or STORES -> Settings -> Configuration -> CMS IDEAS EXTENSIONS -> Gift Card

You should configure the fields, then click the "Save Config" button to save your work.

General tab

Enable Gift Cart - You are able to "enable" or "disable" extension as requirement

Gift code pattern - You can configure the pattern to auto-generate gift codes for Gift Card products when Customers purchase in frontend
- [A.8] : 8 alpha characters
- [N.4] : 4 numeric characters
- [AN.6] : 6 alphanumeric characters

The number of prefixes shown - Specify the number of prefix characters which are shown a voucher code

Replace hidden characters by - Enter the character that you want to replace with all hidden characters in a voucher code

Gift Cards codes expire after - You can specify the number of days that you want to the Gift Card will be available

Allow customers to redeem Gift Cards with usage conditions - Set to "Yes", if you want to allow customers to redeem Gift Cards with usage conditions

Maximumtime(s) allow to enter gift code incorrectly - You can specify the number of times that customers could enter a incorrectly code

Maximum number of users per one gift code - You can specify the number of users who will use a gift code

Use Gift Card for shipping fee - Set to "Yes", if you want that the Gift code or Gift Card credit can be spent on shipping fee, even when ordering Gift Card product

Use Gift Cards with coupon codes - Set to "Yes", if you want that the customers can see Gift Cards codes and credit balance with system coupon codes to get discount

Show link to check Gift Card on website - Set to "Yes", if you want to enable customer to check status of Gift Cards after entering gift codes

Show Gift Card expiry date on website - Set to "Yes", if you want to allow showing the expiration date of the Gift Card on the frontend

Apply Gift Card discount - Choose "After tax" or "Before tax" to apply Gift Card discount for Customers order value (tax excluded)

On Product Page tab

Default Gift Card value - Set default Gift Card dropdown values in case admin didn't specify when creating Gift Cards

Description of Gift Card value - Enter description of Gift Card value shown on Gift product details page to explain for the customers

Allow customers to change the image inserted into template - Set to "Yes", if you want to enable customers to change the image inserted into Gift Card template by uploading their preferred picture

Maximum size of images uploaded by customers - You can specify the maximum size of images uploaded by customers

Allow shipping Gift Card - Set to "Yes", if you want to the Gift Cards can be sent through post office

Message max length - You can specify the number of characters that the customers can write for a message

Enable scheduling Gift card delivery - Set to "Yes", if you want to allow customers to set a date to send Gift Cards

On Shopping Cart Page tab

Show Gift Card box on shopping cart page - Set "Yes", if you want to enable a Gift  Card box for customers to apply gift codes right on the shopping cart page

Information displayed on shopping cart page - Select the information of Gift Card that you want to display on shopping cart page

Show Gift Card image as product image in shopping cart - Set to "Yes", if you want to allow showing the Gift Card image as product image on shopping cart page

On Checkout Page tab

Email Notification tab

Enable email notification - Set to "Yes", if you want to enable sending notification emails to Customers and recipients

Send Gift Card to friends when Gift Card status is - Select the statuses of the Gift Card for which you want the Gift Card will be sent to friends via email

Sender of email notification - Choose the sender of the notification email to recipient

Gift Card notes - Enter text of the email notification that you want to display in Gift Card delivery email

Send Gift Card copy via email - Set to "Yes", if you want to allow sending a copy of Gift Card via email when Customers choose to ship through post office

Attach printable PDF files to Emails - Set to "Yes", if you want to allow attaching the printable PDF of the Gift code in the email

Send-to-Purchaser email template - Choose the email template that you want to send to purchasers after buying Gift Card successfully

Send-to-purchaser email template when recipient receives Gift Card - Choose the email template that you want to sent to purchasers when recipients receive Gift Cards

Send-to-recipient email template - Choose the email template you want to send to Gift Card's recipient

Send-to-recipient email template when Gift Card is refunded - Choose the email template you want to send to recipient when Gift Card is refunded

Auto-send reminder email before Gift Card expires - Set to "Yes", if you want to enable auto reminder email to be sent to Customers before Gift card expires

Auto-send reminder email before - You can specify the number of days that you want to send notification to Customers before the expiration date of a Gift card

Gift Cart Printout tab

Show barcode on Gift Card - Set to "Yes", if you want to enable the barcode to show on Gift Cards when they are printed or sent via email

Type of Barcode - Select the type of barcode that you want to show on Gift Cards when they are printed or sent via email

Gift Card notes - Enter text of the notes that you want to shown on Gift Cards when they are printed or sent via email

2. Manage Gift Cart Templates

Go to the CMSIDEAS -> Gift Card -> Manage Templates, you can see a list of available templates on the Gift Card Templace Manager page

To create a gift card template, you click the "Add Gift Card Template" button at top right corner. Then you complete the required fields

General Information tab

Image tab