Gift Code Pattern
Vinh Jacker | 02-02-2018
Recently, the number of gift cards consumed by people have increased dramatically, especially on shopping seasons or holidays. Following this trend, various online merchants also offer gift vouchers as special and strategic products to draw attention from customers. However, several shop admins face difficulty managing a huge number of gift card codes purchased by consumers. To handle this problem, Mageplaza Gift Card extension offers users a function Gift Code Pattern beside other useful features to ease management process.
Backend configuration
Previously, there are several stores applied gift codes with numbers or letters only, which can cause problems in privacy and management for big businesses with huge database. With Magento 2 Gift Card extension, both numbers and letters are used to form a gift code. For small and medium enterprises which do not have too many gift codes to manage, they can choose to use only letters or only numbers if they want. However, it is highly suggested to make a pattern including both of these variables.
To start making a gift code pattern as a template for a store, admins can access Admin Panel > Store > Gift Card > Configuration
. In the general configuration fields, it is easy to navigate Gift Code Pattern
. Here is the place where shop admins can configure and form a model template freely. In this field box, you need to fill in numbers and abbreviations for variables such as N standing for numeric variable and A representing for alphanumeric variable. To be more specific, a gift code pattern can be [4N]-[3A]-[4AN]
. With the pattern like that, when generating new gift codes, these codes will be 1301-MAN-C5A2
or 2603-LTC-3M6T
, and so on.
After setting a model pattern for stores, when creating new gift codes, the pattern will be automatically filled in the Code Pattern field. Shop admins can try to create a new gift code after configuring a general pattern by visiting Admin Panel > Mageplaza > Gift Card > Gift Card Code
and then selecting Gift Card information. Here users do not need to fill in Code Pattern as it is updated from general configuration. All they need to do is completing other field boxes to finish making a new gift code for customers.
Frontend display
Depending on the Gift Code Pattern which is decided by store owners, customers will receive the codes parallelly with the model pattern. In other words, customers can make no changes to their gift codes as it is totally up to admins’ intentions. For example, if customers get a gift code like following PRVV-MSCD-1781
, it means that the code pattern of that store is [4A]-[4A]-[4N]
.
Besides, when buyers visit main website store to take a look at their gift cards, they can find all their gift codes in My Gift Card > My Saved Gift Cards
. Here is where each gift code is recorded in details including balance, status, and expired date to help cards’ owners keep track of their spending easily. Especially, each code has some hidden parts that require consumers to click on if they they want to see the entire code.
Although buyers have no right to change their gift codes, model patterns created by shop admins increase the level of privacy for each gift code. Therefore, customers never need to worry about having their codes lost because other people can guess their codes. Additionally, with the fixed code pattern, it is much easier for store owners to manage when customers use and redeem the codes. If you want to look for other functions from Mageplaza Gift Card extension that support management system, you can take a look at Gift Card history checking.