Learn how to offer a WooCommerce custom price based on user input and turn it into a PDF gift card. By combining Flexible PDF Coupons with Custom Price for WooCommerce, customers can choose a voucher value within limits set by your store—without coding or creating a separate product for every denomination.
This guide uses a toy store as an example, but the same workflow can support retail shops, salons, spas, gyms, service providers, and other businesses selling gift cards, service credits, or prepaid experiences.
Download Flexible PDF Coupons →
Download Custom Price for WooCommerce →
Table of contents
- How a WooCommerce custom-price gift card works
- Install the free WooCommerce plugins
- Configure Flexible PDF Coupons
- Configure Custom Price for WooCommerce
- Test the custom-price voucher workflow
- Uses for customer-defined voucher values
- Key takeaways
- Summary
- FAQ
How a WooCommerce custom price based on user input works
WooCommerce normally requires you to define a product price in advance. That works well for standard products, but it can be restrictive when selling gift cards. One customer may want a $20 present, while another may need a $100 voucher for a close friend or family member.
A WooCommerce custom-price gift card solves this problem by allowing the buyer to enter a value on the product page. The store owner remains in control by defining the minimum and maximum permitted amounts.
The setup described in this guide combines two free plugins:
- Flexible PDF Coupons creates the coupon product and generates the PDF voucher.
- Custom Price for WooCommerce adds a customer-defined price field to the product page.
Together, the plugins let you manage multiple voucher amounts through one flexible-value WooCommerce product instead of maintaining a separate product for each denomination.
Install the free WooCommerce plugins
Start by installing Flexible PDF Coupons – Gift Cards & Vouchers for WooCommerce and Custom Price for WooCommerce. Both free versions are available from the official WordPress plugin repository.
- Install Flexible PDF Coupons from your WordPress dashboard or download the plugin.
- Activate it in your WooCommerce store.
- Install Custom Price for WooCommerce.
- Activate the second plugin.
- Configure the PDF coupon and customer-defined price settings.


Configure Flexible PDF Coupons for a gift card
After activation, decide when our plugin should generate the coupon. In the settings, select the WooCommerce order status that will trigger coupon generation and delivery. This gives you control over the point at which the PDF voucher is created.
The selected status should match your payment and order-processing workflow. For example, you may prefer to generate a usable voucher only after the order reaches the status associated with a successfully processed payment.

Create a branded PDF coupon template
Next, create a coupon template or use the default template as a starting point. The template controls the appearance of the generated PDF gift card.

When preparing the template, choose the required PDF format and page orientation, then add suitable text and imagery. Available shortcodes can insert dynamic details such as the coupon code and voucher value, ensuring that each generated document reflects the purchased amount.

Keep the design easy to scan. The voucher value, coupon code, and redemption instructions should be clearly visible. Use your brand colors, image, and wording without overcrowding the PDF with unnecessary content.
Flexible PDF Coupons PRO for WooCommerce
Create branded PDF coupons for gift cards, service vouchers, and other prepaid offers. Choose the version and optional add-ons that fit your personalization and delivery requirements.
Flexible Coupons
You can also explore the general plugin workflow in the free demo.
Configure Custom Price for WooCommerce
Without a custom-price plugin, the voucher uses the fixed product price entered in WooCommerce. The free Custom Price for WooCommerce plugin adds a field in which the customer can define the amount.
Set a clear custom price label
Open the plugin settings and choose a clear label for the price field. Customer-friendly wording such as “Enter voucher value” explains the purpose more effectively than a generic price label.

Enable user input for the voucher product
- Go to Products in the WordPress dashboard.
- Edit the WooCommerce product used as your gift card or voucher.
- Enable the custom-price option.
- Enter the minimum permitted value.
- Enter the maximum permitted value.
- Update the product.

Choose sensible minimum and maximum values
The minimum and maximum amounts are business controls, not merely technical settings. A minimum prevents orders with impractically low voucher values, while a maximum helps control unusually large amounts and gives customers a clear purchasing range.
Choose limits that reflect what your store sells:
- A toy shop can base the range on typical product prices.
- A salon or spa can consider the usual cost of treatments.
- A gym can align the range with classes, passes, or service packages.
- A service business can use values that correspond to common appointment or package costs.
Once the product is updated, customers will see the value field on the product page.

Test the WooCommerce custom-price voucher workflow
Before publishing the gift card, place a test order and review the complete customer journey:
- Open the voucher product page.
- Enter an amount within the permitted range.
- Add the product to the cart.
- Confirm that the amount appears correctly in the cart and at checkout.
- Complete the test order.
- Move the order to the status selected for coupon generation.
- Open the generated PDF and verify its value, code, text, image, and layout.
- Check the delivery process.
- Confirm that the coupon can be redeemed according to your store rules.
Also test one value below the minimum and another above the maximum. This helps verify that the limits work as expected and that customers receive understandable validation before checkout.
Practical tip: repeat the test on mobile as well as desktop. The amount field, validation message, cart details, and PDF should all remain easy to read.
Where customer-defined voucher values are useful
A custom price based on user input in WooCommerce can support more than toy-store gift cards. The same setup may be useful for:
- Retail shops: flexible gift cards when the buyer does not know which product the recipient would prefer.
- Salons and spas: credit toward a treatment or service selected later.
- Gyms and fitness businesses: flexible credit for sessions, classes, or passes.
- Service providers: prepaid credit that can be applied to an eligible service.
- Experience businesses: gift vouchers that allow the recipient to choose the final option.
- Marketplaces: flexible-value vouchers where this model matches the marketplace’s coupon and redemption rules.
For a toy store, this approach can be particularly practical for birthdays, Christmas, and family occasions. The buyer chooses the budget, while the recipient later selects a suitable product.
Optional Custom Price PRO settings
If you need additional product-page controls, Custom Price for WooCommerce PRO offers extra settings such as a suggested price and editable Add to Cart button text for an individual product. These options are not part of the free workflow described above.

You can compare the additional settings on the Custom Price for WooCommerce PRO page or review the demo.
Key takeaways
- Flexible PDF Coupons can create a PDF gift card connected to a WooCommerce product.
- Custom Price for WooCommerce lets the customer enter the product value.
- Minimum and maximum limits keep customer input within a range selected by the store owner.
- One flexible-value product can replace multiple gift card products with fixed denominations.
- The coupon generation status should match your WooCommerce payment and order-processing workflow.
- A test order should verify the entered price, generated PDF, coupon details, delivery, and redemption.
- Free and PRO functionality should be assessed separately before selecting additional features.
Summary
Combining two free plugins gives you a practical way to create a WooCommerce gift card with a custom price based on user input. Flexible PDF Coupons handles the coupon and PDF generation, while Custom Price for WooCommerce lets the buyer choose an amount within your defined limits.
This setup reduces the need for separate fixed-value products and gives customers more freedom when choosing a gift. If your workflow later requires more advanced personalization or delivery options, compare Flexible Coupons PRO and the available add-ons before expanding the setup.
FAQ
Can customers enter any price they want for a WooCommerce product?
You can define minimum and maximum values in Custom Price for WooCommerce. Customers choose an amount within the permitted range rather than entering an unrestricted value.
Does custom price input work with WooCommerce gift cards?
Yes. In the workflow described above, Custom Price for WooCommerce collects the amount, while Flexible PDF Coupons generates the corresponding PDF voucher.
Do I need a separate product for every gift card value?
No. A customer-defined price lets you offer multiple values through one voucher product, provided each amount remains within the minimum and maximum limits you set.
Are both WooCommerce plugins free?
Both Flexible PDF Coupons and Custom Price for WooCommerce have free versions that support the core process covered in this guide. Their PRO versions provide additional options and should not be confused with free functionality.
When is the PDF gift card generated?
Flexible PDF Coupons generates the voucher when the order reaches the WooCommerce status selected in the plugin settings. Choose a status that matches your payment and fulfillment process.
Why should I test the generated PDF before selling the voucher?
A test order allows you to check the entered value, coupon code, template layout, generation status, delivery process, and redemption rules before customers begin placing orders.
