Gift cards images

The plugin allows inserting and organizing different gift card images in categories. The gallery could be available to users during the purchase of the gift card.
Let’s analyze all the essential steps to configure the gift card images correctly.

First, you have to activate the “Enable the gallery” option in the plugin design settings panel.

Go to the “Image categories” tab in the plugin settings and insert all the categories of gift card images you want to create.

Insert a new image in the “Media library” and edit it. Choose media “list” display mode to get a better overview of the “gift card categories”.

Select the category you want to associate with the image you have created.

If the “Media library” is in grid mode, you will need to write the category slug in the gift card category input.

Also, it’s possible to manage the gift card category in the “Media library” bulk action.

Now users can select a template in the “Choose your image” section from the gift card product page.

This section will include a “View all” button, that opens a modal window with all the predefined designs grouped by category.



Set a logo for gift card

You have the possibility of insert the shop logo in the gift card templates sent to the recipient.

In the plugin design options, enabling the logo feature, you will be able to upload your logo and configure it.

Configure the gift card email

In the “Email options & customization” options from the delivery settings, you can manage the behavior of the gift card email sent to the recipient and customize it.

You have also the possibility of display additional info in the gift card, like the expiration date, a QR code with the gift card data, that allow the customer to scan the QR code with his phone and be redirected to your shop, applying the gift card code automatically.

Finally, you can enable the option toattach the gift card template to the email in a PDF.


Gift card code pattern

A code will be associated to each gift card automatically, created based on the pattern previously set in the plugin general settings.

Use ‘*’ as a placeholder that will be replaced by a random character. Leave blank for default pattern ‘****-****-****-****’.

The administrator can customize the pattern. For example, you can generate the codes with the pattern yith-****-**** where each “*” is replaced by an alphanumeric character. In this way, you will get the following codes:


Set a gift card expiration

By default, the gift cards that have been created automatically will not have any expiration date.

If you want to change this behavior, go to plugin settings dashboard and set the validity of all gift card in the  “Gift card expiration date” entry.

You must set the value by months. For example, if you want all the sold gift cards to expire in twelve months, you must set the value as 12.

On the other hand, you can also set an expiration date to a specific gift card product, selecting it in the product edit options. In this case, the date should be specific and not a value in months like the default option.

The gift card expiration date is included in the email sent to the user.

This setting is not retroactive and will be applied only to the gift cards created after editing the expiration.

If you want to, once the gift card is created, the admin can, however, change the expiration date on the single gift card.

Redeem gift card (admin and shop manager)


Whenever you have to quickly update your customers’ gift card manually, you can use the feature offered by this shortcode that displays a form, where the admin or the shop manager can add the gift card code and the gift card amount used by the customer: this will be subtracted from the gift card balance in a click.

The shortcode supports also negative numbers, so you can increase the gift card amount easily.

This shortcode can be useful in stores where the customer comes with a physical gift card and the store manager needs to update the gift card balance easily and quickly.

To update your customer’s gift card, just open the page where the shortcode appears, enter the gift card code and the amount used (a negative value for the amount to be added): click on Submit and the gift card will be immediately updated.


Check gift card balance


You can type in this shortcode on any of your website pages to display a form, where customers can enter the gift card code and check the remaining balance.

How to override templates

You can override from your theme all the templates that you can find in the plugin “templates” folder.

Override templates

To override the template from your theme, copy the file you want to change and paste it in the theme woocommerce folder (create one if not already available.

If the file you want to override is in a sub-section of the plugin templates folder, make sure of recreating the same structure in the theme woocommerce folder.

Let’s make an example.
Suppose that we want to override the my-giftcards.php template.

The file is within the plugin in templates -> myaccount.

Plugin file structure

To override the file, you need to recreate the same structure within your theme and paste the file in the woocommerce -> myaccount path.

Theme file structure