Documentation for Flexible Coupons plugin

New coupon template

New coupon template#

The first step after activating a plugin is creating a new coupon template which will be used during the process of generating coupons. You will use a convenient editor that is built-in in the plugin.

After installing the plugin, you will see in your WordPress dashboard menu a new PDF Coupons tab. Click on it and then choose the Add new option.


Select format - select the print size of the PDF coupon. Options:

  • A4
  • A5
  • A6

Page orientation - Choose whether the coupon printout should be horizontal or vertical.
Background color - select a coupon background color.


In this tab, you can select which images you want to use when creating a coupon. The plugin uses the WordPress media library. To add images to your template, click Select images, then select images from the media library, and click Select. Finally, click on the image itself to add it to your workspace.

Adding and moving the image
Add an image to a template

You can move images around the working area using the drag&drop method. The size of an image can be changed with one constraint - image magnification is possible up to the original resolution of the image.


Here you will find three defined text headers that you can add to your workspace where you may edit them further.

In the current version of the plugin, you can edit:

  • Font
  • Font size
  • Font color
  • Text alignment (left, right, center, and justify)

Change font size


The plugin supports a series of shortcodes, which allow you to place the value of the fields - when placing an order - directly to the coupon in PDF format.

Below you will find a list of all shortcodes:

  • [coupon_value] - this is the value of the coupon which is also the price of the product - coupon,
  • [coupon_code] - coupon code is a value generated automatically when creating an order with a product - coupon,
  • PRO [coupon_expiry_date] - coupon expiry date,
  • PRO [customer_address] - the payment address of the customer filled up when placing an order,
  • PRO [customer_name] - buyer's name, filled-in at the checkout,
  • PRO [product_name] - product-coupon name,
  • PRO [recipient_message] - a message from a buyer to a coupon recipient. More about this option you will find in the section about adding a new product,
  • PRO [recipient_email] - email address of the coupon recipient,
  • PRO [recipient_name] - the name of the coupon recipient,
  • PRO [siteurl] - address of your website.

You can add new shortcodes with the Custom Shortcodes add-on. Read how to personalize your WooCommerce PDF gift cards with more fields!

Not the solution you are looking for?

Please check other articles or open a support ticket.

Cookies preferences


Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.


Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.


Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.


Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.


Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.


Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.