Skip to content

Gift vouchers

A gift voucher is a special product type that, on sale, automatically generates a unique coupon code, places it into your PDF template, and sends it to the customer as a gift to redeem on a future purchase.

Path to create the product: Admin > Products > Add product Path to templates: Admin > Settings > Gift voucher templates

How it works

  1. In the administration you design one or more PDF gift voucher templates once.
  2. You create a product of type Gift voucher and assign it one of your templates and a coupon validity period.
  3. The customer buys the product on the e-shop like any other item.
  4. After payment, the system:
    • generates a unique coupon code,
    • fills your PDF template with it together with the value, date and other details,
    • produces the finished PDF voucher and sends it to the customer (or recipient).
  5. The recipient can redeem the code at checkout as a discount coupon up to its expiry date.

Step 1: Create a voucher template

Before creating the product itself, you need to prepare at least one PDF template. The template controls how the printed voucher will look — its background, layout, position of texts, and the spots where dynamic data will be filled in automatically.

Go to Settings > Gift voucher templates and click Create new.

Basic information

  • Name (required) — internal template name only you will see (e.g. "Christmas 2026", "Simple A5", "Gold A4"). Not shown to the customer.
  • Paper size — choose A4 or A5. The size determines the proportions of the canvas you'll design on.
  • OrientationPortrait or Landscape.
  • Active — when on, the template appears in the dropdown when creating Gift voucher products. Inactive templates are hidden but not deleted.

Background image

Upload a PNG or JPG that will be the background of the entire voucher (e.g. a graphic design with logo, frame and ornaments). We recommend an image in the same ratio as the chosen paper size (A4 = 210×297 mm, A5 = 148×210 mm), otherwise it may be cropped or stretched.

Template elements (visual designer)

The visual designer has three panels:

  • Elements (left panel) — list of draggable tokens you can drop onto the canvas. Each token will be replaced with the real value from the paid order when the voucher is generated.
  • Canvas (centre) — paper preview at real dimensions (e.g. "A4 Landscape — 297×210mm"). Drag elements here and arrange them where they should be printed.
  • Element properties (right panel) — click an element on the canvas and on the right you can edit its font, size, colour and position.

Available dynamic tokens

TokenWhat it is replaced with
codeGenerated coupon code
amountVoucher value
currencyCurrency (e.g. €)
product_nameName of the product the voucher came from
order_numberOrder number it was purchased in
expiry_dateVoucher expiry date
recipient_nameRecipient name (from the order)
shop_nameYour store name
shop_urlYour store URL
datePurchase date
gift_messagePersonal message entered by the customer at purchase
Static textAny fixed text (e.g. "Gift voucher", "Valid until:")

Drag a token onto the canvas, position it, and adjust its style via the Element properties panel.

When you're happy with the design, click Create template. From that moment the template is available when creating products.

Step 2: Create a Gift voucher product

Go to Products > Add product. In the Product type tab click the Gift voucher card (the fourth option next to Physical product, Digital product and Subscription).

After selecting it, a new Gift voucher settings section appears with two fields:

  • PDF template — dropdown listing all active templates you prepared in Step 1. Pick the one you want to use for this specific product. You can have, for example, one product "Gift voucher €20" with a festive template and another "Gift voucher €50" with a luxury gold template.
  • Coupon validity (days) — number that determines how many days after purchase the coupon code will be valid. Default is 365 days (one year). After this period the code automatically becomes invalid.

The remaining tabs (Basic, Pricing, Attributes, SEO) are filled in just like any regular product — enter the name, description, images, price, and optionally variant values (e.g. €20, €50, €100 voucher as variants of the same product).

Tips for proper setup

  • Multiple values — if you want to offer vouchers in several values (€20, €50, €100), don't create three separate products. Instead create one product with variants and set a price for each variant individually. The amount value in the PDF will be filled in automatically based on the paid variant.
  • Price = voucher value — the selling price of the product should equal the value the customer redeems the voucher for. If you sell a voucher at a discount (e.g. €50 voucher for €45), state it in the description to avoid disputes.
  • Availability — if you want gift vouchers to not be physically deliverable (e.g. prevent adding to brick-and-mortar shipping), use the Special handling section and shipping/payment will adapt.

Step 3: What happens after the sale

The system automatically:

  1. After payment confirmation, generates a unique code and stores it in the coupon database.
  2. Combines the code with the template, renders the final PDF and attaches it to the order.
  3. Emails the customer with the PDF attached.
  4. The coupon code becomes immediately valid (or from a specified date) and can be redeemed at checkout on a future purchase.

You can track the status of individual coupons (used, unused, expired) in the Marketing > Coupons section.

Frequently asked questions

Can I change the voucher design after the customer has received it? No — the PDF is generated at the moment of sale and stored with the order. Changing the template only affects future orders.

Can I have different templates for different seasons? Yes. Create several templates (Christmas, summer, birthday) and switch them on the product depending on the season. Or create several separate products, each with a different template.

What if the customer loses the PDF? In the administration, open their order — the PDF voucher is attached to it and you can resend it.

Can a coupon be redeemed partially? That depends on the coupon settings in Marketing > Coupons.


Related topics: