Gift card code pattern

A code will be associated to each gift card automatically, created based on the pattern previously set in YITH Plugins > Gift Cards > Code pattern. 

gift card code

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:


If you are creating a new gift card from the backend, please make sure to insert a univocal code in conformity with the previously set pattern.