Skip to content

Voucher Templates

Voucher templates define the visual appearance of generated gift vouchers. Configure them at WooCommerce → Settings → Wpify Woo → WPify Woo Product Vouchers in the Templates section.

Click Add template and fill in:

Voucher template list

FieldDescription
LabelTemplate name for identification (e.g., “Light voucher”)
FileBackground file (JPG, PNG or PDF) — should have blank areas for dynamic text. When a PDF is used, the voucher output is always PDF regardless of the output type setting.
IDUnique identifier (auto-generated, do not modify)

Voucher template background setting

In the Texts section of each template, add dynamic elements that will be rendered on the voucher image:

Voucher template texts

ElementDescription
CodeUnique coupon code generated by the plugin
ValueCoupon value (determined by the product price)
Date of validityExpiration date of the coupon
Date of creationDate when the coupon was generated

For each dynamic element, configure:

ParameterDescription
Position XPixels from the left edge of the image
Position YPixels from the top edge of the image (baseline is the lower-left corner of the text)
Font SizeText size in points
FontSelect a custom font uploaded in the Fonts section, or use the default (Noto Sans)
ColorText color (HEX format or color picker)

Voucher template text parameters

Voucher position diagram

You can create multiple templates for different purposes:

  • Different values — create separate templates with specific designs for different voucher amounts, eliminating the need for dynamic value display
  • Customer choice — create several design variants and let customers choose their preferred template on the selection page
  • Seasonal designs — create themed templates for holidays or special occasions
  • Test each template after creation by generating a test voucher
  • Consider hiring a professional designer for optimal visual quality
  • Ensure dynamic text areas have sufficient contrast against the background image
  • The preview function in the admin shows how the template will look with sample data

Voucher template preview