How to Use Discount Coupons in WP User Frontend Pro

If you want to offer discounts to your users on subscription plans, WP User Frontend Pro lets you create and manage coupon codes directly from your WordPress dashboard. This guide explains how to create coupons, what each setting does, and how a user applies a coupon at checkout.

What Are Coupons in WPUF?

Coupons in WP User Frontend Pro are discount codes that reduce the price of a subscription pack at checkout. You can offer a flat amount off or a percentage discount, restrict coupons to specific packs, limit who can use them, and set expiry dates — all without any extra plugin.

Note: Coupons apply to subscription pack purchases only. Pay-per-post payments do not support coupon codes.


How to Create a Coupon

Go to WP User Frontend → Coupons → Add New in your WordPress admin.

Coupon Settings

SettingDescription
Coupon CodeThe code your users type at checkout. Use something memorable, like SAVE20.
Discount TypeChoose Amount (flat discount, e.g. $5 off) or Percent (e.g. 20% off).
Discount AmountThe value of the discount. For percent type, enter the number without the % sign — enter 20 for 20%.
Applicable PackagesSelect which subscription packs this coupon applies to, or choose All to allow it on every pack.
Start DateThe date from which the coupon becomes active. Leave empty to make it active immediately.
End DateThe expiry date. Leave empty for no expiry.
Usage LimitMaximum number of times this coupon can be used across all users. Leave empty for unlimited use.
Restrict to EmailsIf filled, only users with those email addresses can apply the coupon. Leave empty to allow anyone.

How the Discount Is Calculated

  • Amount discount: Pack price − discount amount = discounted price
    Example: $50 pack with a $10 coupon → $40
  • Percent discount: Pack price − (pack price × percentage ÷ 100) = discounted price
    Example: $50 pack with a 20% coupon → $40

If tax is enabled, tax is calculated on the discounted price, not the original pack price.


How a User Applies a Coupon at Checkout

  1. The user selects a subscription pack and proceeds to the payment page.
  2. Below the order summary they see a “Have a discount code?” link.
  3. Clicking it reveals a text field where they enter the coupon code.
  4. They click Apply Coupon.
  5. The order summary updates in real time — the original price, discount amount, applicable tax, and new total are all displayed.
  6. To remove the coupon, they click the × button next to the applied coupon label, or click Cancel in the input field.

What Users See After Applying a Coupon

Package Name                $50.00
Coupon: SAVE20 -20%        −$10.00
Tax 7%                       $2.80
─────────────────────────────────
Total                       $42.80

Coupon Validation Rules

WPUF validates a coupon before applying it. The coupon will be rejected with an error message if any of the following are true:

  • The coupon code does not exist.
  • The coupon has reached its usage limit.
  • The coupon start date has not been reached yet.
  • The coupon has passed its expiry date.
  • The coupon is not applicable to the pack the user is purchasing.
  • The user’s email is not on the restricted access list (when email restriction is configured).

Frequently Asked Questions

Can I create multiple coupons?

Yes. You can create as many coupons as you need. Each coupon is managed independently with its own code, discount type, and restrictions.

Can the same coupon be used more than once by the same user?

WPUF does not restrict per-user usage by default. To limit total usage across all users, set the Usage Limit field. To restrict to specific users, use the email restriction field.

Can I use a coupon on a pay-per-post payment?

No. Coupons are supported on subscription pack purchases only.

What happens if the coupon brings the price to zero or below?

The discounted price will be set to zero. The user will not be charged.

Does the coupon apply before or after tax?

The coupon discount is applied first, then tax is calculated on the reduced amount.


  • Subscription Packs — WP User Frontend → Subscriptions
  • Tax Settings — WP User Frontend → Settings → Tax
  • Payment Settings — WP User Frontend → Settings → Payment

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *