• Skip to primary navigation
  • Skip to main content
LogoMain
WP Desk

WP Desk

WooCommerce Plugins

Flexible Invoices

Flexible Invoices

Automate invoicing

ShopMagic

ShopMagic

E-mail automations

Flexible Coupons

  • Pricing
  • Add-ons
  • Docs
  • Support
  • Blog
  • Ideas
  • My Account
Customize WooCommerce coupons & sell PDF vouchers

Published: 2024-05-07 / Updated: 2026-11-20 / Blog, Plugin Tutorials

Customize WooCommerce coupons & sell PDF vouchers

Dorota Ingielewicz

Customize WooCommerce coupons and sell branded PDF vouchers that fit your business. Learn how to display product variations, find generated coupon codes in the order panel, and create separate vouchers for items purchased together—with practical examples for Flexible Coupons.

Customize WooCommerce coupons as PDF vouchers

A useful voucher needs more than an attractive design. It should clearly describe what the customer purchased, show the information needed for redemption, and be easy for your team to manage.

Our Flexible Coupons plugin helps WooCommerce merchants create and sell PDF gift cards, printable vouchers, service credits, and event tickets. You can design branded templates without coding, then extend your workflow where you need more specific data or generation rules.

This guide focuses on three practical customizations: showing variation names, displaying coupon codes alongside orders, and generating multiple vouchers from a single purchase. You can compare Flexible Coupons options when deciding which version and add-ons suit your store.

Table of contents

  • Show variation names on PDF vouchers
  • Display coupon numbers in the order panel
  • Generate multiple PDF vouchers in one order
  • Implement customizations safely
  • Design and personalize PDF coupons
  • Key takeaways
  • Summary
  • Frequently asked questions

Show variation names on WooCommerce PDF vouchers

Variable products let customers choose between voucher options, such as service durations, treatment packages, or ticket categories. If the PDF displays only the parent product name, the recipient may not know which option was purchased.

For example, a spa voucher labeled “Massage” is less informative than “Massage – 60 minutes.” Including the selected product variation helps both the customer and the employee handling redemption.

WooCommerce can display variation information across the product name and separate attribute lines. A product with several attributes might appear like this:

T-shirt – size M
Colour: white

WooCommerce variable voucher product showing its selected attributes

The customization below adjusts the product-name output so the variation information can appear together. Before applying it:

  • Review the snippet and add it through a dedicated customization plugin or a child theme’s functions.php file.
  • Set a specific default variation rather than leaving the attribute selection as Any.
  • Check attribute slugs under Products → Attributes → Edit, especially where an attribute name contains several words.
  • Confirm that the snippet matches your current WooCommerce and Flexible Coupons configuration.

PDF voucher showing the product name with selected variation details

With the appropriate configuration, the name can include the selected attributes in one line:

T-shirt – size M, white

This filter changes product-name output across the store, not just on one PDF voucher. Test ordinary products, variable products, order details, and generated PDFs on a staging site before using it in your live shop.

Display WooCommerce coupon numbers in the order panel

When a customer contacts your store about a voucher, your team needs to locate its code quickly. Showing the generated WooCommerce coupon code in the order panel can make that lookup more convenient.

This is useful for salons, gyms, retail shops, venues, and other businesses that answer voucher questions by phone or email. Staff can review the order reference and associated coupon information together.

Generated voucher code shown alongside an order in WooCommerce

The following snippet provides an order-panel customization. Have it checked against your current order-management setup before installation, particularly if your store uses WooCommerce High-Performance Order Storage (HPOS).

After applying the change, place a test order and compare the displayed code with the code in the generated PDF. If an order contains several vouchers, check that your team can identify the relevant codes without ambiguity.

Finding a code is not the same as validating it. Staff should still follow your redemption process and check whether the coupon is valid before accepting it.

Generate multiple PDF vouchers in one WooCommerce order

A customer buying several vouchers may need each one to work independently. Examples include three gift cards for different recipients, two treatment vouchers, or several admission tickets purchased together.

Before choosing a setup, decide whether you need one combined voucher or separate coupons. These represent different workflows: one shared credit is not interchangeable with several individually redeemable codes.

The following customization was prepared for a Flexible PDF Coupons WooCommerce PRO workflow to change how multiple coupons are generated within one order. Treat it as a code-based customization that requires compatibility testing, rather than a setting available in every installation.

Two separate PDF vouchers generated for one WooCommerce order

For an ongoing multi-voucher workflow, consider our Multiple PDFs add-on, which is designed for creating several coupons or tickets in one order. Check its requirements and configuration before deciding whether you also need custom code.

Separate PDF generation does not, by itself, define how each recipient receives a file. If your business needs customized emails or scheduled delivery, those requirements belong to the Advanced Sending add-on workflow and should be configured separately.

Plan the redemption unit first: should each purchased item produce its own coupon, or should the order create one shared voucher? Test quantities, coupon values, file counts, and delivery together so the result matches what customers expect.

Implement WooCommerce coupon customizations safely

The snippets above change data display or coupon generation. They are separate from the plugin’s visual design tools and require care when adding them to a working store.

Before making changes, review our Flexible Coupons documentation for the relevant product setup and add-on requirements.

  • Use a staging site: keep experimental changes away from your live checkout.
  • Create a backup: make sure you can restore the store if a customization causes problems.
  • Avoid editing the parent theme: updates may overwrite changes to its functions.php file.
  • Check compatibility: review each snippet against your current WordPress, WooCommerce, and plugin versions.
  • Test realistic purchases: include simple products, variations, multiple quantities, and the order statuses used in your workflow.
  • Inspect the final PDFs: check names, codes, values, layout, and the number of generated files.
  • Verify delivery and redemption: confirm that customers receive the expected files and staff can process them correctly.

If you are not comfortable reviewing PHP, ask a developer to check the snippets. A no-code template editor simplifies design work, but it does not remove the risks associated with custom PHP.

Design and personalize your PDF coupons

Once the voucher workflow is clear, build a PDF that customers can understand at a glance. Our drag-and-drop graphic editor lets you work with text, images, colors, and layout to create a design that matches your brand.

Keep the redemption information easy to find. A decorative background should not compete with the coupon code, service description, or other essential details.

Depending on your Flexible Coupons version and extensions, you can build workflows around recipient information, personal messages, coupon values, and expiry details. Check the feature requirements before planning a template around a particular field or automation.

The free version is available from the Flexible PDF Coupons WooCommerce plugin page. PRO and our add-ons are separate options for extended requirements; the advanced workflows discussed here should not be assumed to be included in the free plugin.

Flexible PDF Coupons PRO WooCommerce

Create branded PDF vouchers for gift cards, services, printable credits, and tickets. Choose compatible add-ons when your workflow calls for scheduled sending, additional template data, QR validation, or multiple PDFs.

Add to cart
or
View details

WP Desk

Add dynamic order and product information

If a standard template field does not cover your needs, our Custom Shortcodes add-on for Flexible Coupons PRO can bring supported WooCommerce order, product, attribute, or field data into templates.

This is a different approach from changing product names throughout the store: it focuses on the data inserted into the PDF. For examples, see our guide to personalized PDF gift cards with dynamic data.

Key takeaways

  • Show the purchased option: clear variation names help customers and staff identify the correct service or product.
  • Make codes easier to locate: order-panel customization can simplify voucher-related customer service.
  • Choose the right generation model: separate coupons are useful when vouchers must be redeemed independently.
  • Match features to requirements: PRO, Multiple PDFs, Advanced Sending, and Custom Shortcodes serve different needs.
  • Separate design from development: template editing does not require the same technical work as PHP customization.
  • Test the whole journey: check purchase, generation, delivery, and redemption before launch.

Summary

To customize WooCommerce coupons effectively, start with your customers’ and employees’ practical needs. Make the purchased variation clear, keep generated codes accessible, and decide whether each item needs an independent PDF voucher.

Use Flexible Coupons for the voucher design and sales workflow, then select PRO features, relevant add-ons, or carefully tested customizations where necessary. If you have another practical improvement in mind, you can share your suggestion with us.

Frequently asked questions

Can I customize WooCommerce PDF coupons without coding?

Yes, you can create and adjust voucher designs with our visual editor. The variation-name and order-panel changes shown in this guide use PHP snippets, so they require technical review and testing.

Where should I add the customization snippets?

Use a dedicated customization plugin or a child theme’s functions.php file. Avoid editing the parent theme, and always test changes on a staging site first.

Do all these customizations require Flexible Coupons PRO?

No single requirement applies to every example. The product-name filter changes WooCommerce output, while the multiple-coupon snippet was prepared for a PRO workflow. Check each customization and add-on separately rather than assuming it works with the free version.

Can I create several PDF vouchers in one order?

Our Multiple PDFs add-on is designed for creating several coupons or tickets in one order. Configure and test it against your required quantities, coupon values, and delivery process.

Can I insert order or product data into a PDF voucher?

Yes. Flexible Coupons PRO with the Custom Shortcodes add-on can insert supported WooCommerce order, product, attribute, and field data into voucher templates.

About Dorota Ingielewicz

Marketing Manager at Flexible Coupons. Interested in content writing, online marketing and advertisments of all kinds.

  • Terms & Conditions
  • Privacy Policy
  • Support Policy
  • Refund Policy

© 2026 WP Desk WP Desk & Flexible Coupons

Manage Consent

We use necessary cookies to make our site work. We'd also like to set additional cookies to understand site usage, enhance your browsing experience, and serve personalized ads or content. By clicking ‘Accept All,’ you consent to our use of additional cookies.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}