Gym Builder Docs gymbuilder.wpdreamers.com
Pro add-on

Promotions & Trials

Give discount codes and free trials on your membership plans. Make a coupon once in the Gym Builder Dashboard; members use it when they buy a plan, through a shared link or from an offers list on your site.

Needs Gym Builder 3.0.0+Works with Stripe Payments and Offline PaymentsTranslated into 7 languages

What it does

A discount brings people in; a free week lets them try before they commit. Promotions & Trials adds both to the plans you already sell, and shows you which offers are working.

Before you start

Install and switch on

  1. Go to Plugins → Add Plugin and click Upload Plugin.
  2. Choose the add-on's zip file, click Install Now, then Activate Plugin.
  3. Enter your license key when asked. If you skip it, the Gym Builder Dashboard shows Promotions & Trials → License Key in its menu until the license is active.

Once it is on, Promotions & Trials appears in the Gym Builder Dashboard menu with four pages: Overview, Coupons, Free Trials and Settings. Every plan's edit screen gets a Free Trial card.

Set it up

Go to Gym Builder → Promotions & Trials → Settings. The page has four cards. Change what you need and click Save Settings at the bottom.

The Promotions & Trials settings page with the Discount Codes, When a Free Trial Ends, Reminders and Status cards
Promotions & Trials → Settings, with Stripe Payments switched on.

Discount Codes

The Discount Codes card with On your own page chosen, showing the Code Box for Your Page row with the [gbpt_coupon_field] shortcode and a Copy button
With On your own page chosen, the card shows the code box to paste on your page.
i
Offline Payments always shows its own box

This setting is for the Stripe checkout window. The Offline Payments checkout has its own Have a discount code? link whenever Promotions & Trials is on, on every plan that allows discount codes.

When a Free Trial Ends

Choose what happens on the last day of a free trial. This applies to every plan with a trial.

Reminders

The emails are sent by a daily check on your site. You can see what they look like under Emails.

Status

A read-only summary to check that everything is in place:

Coupons

Go to Gym Builder → Promotions & Trials → Coupons. Every coupon is one row: its code and name, the discount, how often it has been used, its status and whether it is shown on your site.

The Coupons page listing YOGA20, DEMO20 and DEMOFOUND with their discount, uses, status, On the site switch, link button and Edit, Turn off and Delete buttons
Promotions & Trials → Coupons.

Make a coupon

  1. Click New coupon.
  2. Type the Code members will enter, for example SPRING20. Letters and numbers only (a dash or underscore is fine); it is turned into capitals.
  3. Fill in the rest of the form (each field is explained below).
  4. Click Create coupon. With Stripe Payments on, the coupon is also set up in your Stripe account straight away.
The New coupon window filled in: code SPRING20, name Spring offer, 20 percent off the first payment, for the plan Unlimited Monthly, ending on 31 December 2026 and shown on the site
A new coupon: 20% off the first payment of one plan, shown on the site.

Read the list

When Stripe has refused one or more active coupons, the number shows next to Coupons in the Dashboard menu, and the Dashboard home page lists it under Needs you.

Change a coupon

  1. Click Edit on the coupon's row.
  2. Change the name, the plans, the number of uses, the end date, New customers only or Show it on the site.
  3. Click Save. Its Stripe copy is made again with the new rules.
The Edit coupon window for DEMOFOUND with the note: The code and the discount can't change once a coupon exists. To offer a different discount, make a new coupon.
The code and the discount are locked once a coupon exists.

The code, the discount and Applies to cannot change, because Stripe does not allow a discount to change once it exists. To offer a different discount, make a new coupon and turn the old one off.

Turn a coupon off, or delete it

  1. On the Coupons page, click the link button in the coupon's On the site column. The message Link copied. appears.
  2. Paste the link into an email, a social post or a message.

The link opens the page chosen in Shared Links Open. The visitor's browser keeps the code for 7 days and a banner tells them it is ready. When they buy a plan through Stripe without typing another code, the discount is applied — as long as the coupon's rules allow it for that plan and that member. If your browser blocks copying, a box with the link appears instead; copy it from there.

A pricing page with a blue banner at the bottom: Discount DEMO20 is ready — it will be applied at checkout
What a visitor sees after opening a share link.
i
Shared links are for Stripe

The code kept from a link (or from your own page's Apply box) is used by Stripe Payments. In the Offline Payments checkout the member types the code themselves.

How members use a code

In the Stripe checkout window

With In the checkout window chosen, the window that opens from Subscribe Now has a Have a discount code? link. It appears when at least one coupon is on and the plan allows discount codes.

  1. The member clicks Have a discount code?, types the code and clicks Apply.
  2. The site checks the code against the coupon's rules and says Code applied: 20% off. You will see it on the payment page. — or why it can't be used.
  3. They click Proceed to Payment. The code is checked once more, and Stripe's payment page shows the discount.
The Subscribe Now window for the 10-Class Pass with the billing plan, class picker and an open code box with DEMO20 typed in and an Apply button
The Stripe checkout window with the code box open.

Stripe's own promotion-code box is never shown: codes always go through your site, so plan limits and "once per member" are checked before anyone pays.

In the Offline Payments checkout

The Offline Payments checkout has its own Have a discount code? link. The member sees the lower price straight away. The use is only counted, and the coupon's limit only used up, when you approve the order. See the Offline Payments guide.

On a page of your own

Paste [gbpt_coupon_field] on a page, for example above your plans. A visitor types a code and clicks Apply; the typing box then gives way to the code with applied and a Remove link (Remove brings the empty box back). The code is then used when they pay through Stripe.

A Have a code? heading and, after the code was applied, the row DEMO20 20% off · applied with a Remove link, and the message Discount applied — it will be reflected at checkout
The code box on your own page, after a code was applied.

What is checked

Free trials

Offer a free trial on a plan

  1. Go to Gym Builder → Membership Plans and open the plan.
  2. Under Add-ons on the left, click Free Trial.
  3. Switch on Offer a Free Trial.
  4. Set the Trial Length in days (1 to 365; 7 to start with).
  5. Leave Allow Discount Codes on if codes may be used on this plan, or switch it off.
  6. Click Update.
The Free Trial card on a plan's edit screen: Offer a Free Trial switched on, Trial Length 7 days, Allow Discount Codes switched on
Plan edit screen → Add-ons → Free Trial.

Allow Discount Codes is on for every plan until you switch it off. When it is off, no code can be used on that plan, wherever it comes from: the Stripe and Offline Payments checkout windows show no code box for it, and a code from your own page's box, a share link or the offers list is refused for that plan ("Discount codes can't be used on this plan.").

The notes on the card follow your When a Free Trial Ends choice: with Charge their card they say the card is taken at sign-up and charged when the trial ends; with Ask for a card first, that no card is needed to start and the plan stops without one.

How trials work

Follow your trials

Go to Gym Builder → Promotions & Trials → Free Trials.

The Free Trials page: four figures (On trial 1, Ending soon 0, Now paying 0, Trials that turned paid 0%), the Trials list with one member whose trial has ended, and the Trials and coupons by plan list
Promotions & Trials → Free Trials.

See how your offers do

Go to Gym Builder → Promotions & Trials → Overview.

The Promotions Overview page: How your coupons and free trials are doing, five figures (Coupons on 3 out of 3 coupons), a Coupons used each day chart, a Used most list and the Every coupon table with what was paid with each code
Promotions & Trials → Overview.
The Every coupon table with DEMO20 opened, showing Amelia Hart, her email, the plan Unlimited Monthly, the date, minus $9.80 and first payment
Click a code to see who used it, on which plan and when.

On a member's page

Open a member in Gym Builder → Members. If they have had a trial or used a code, a Trial & discounts panel shows the codes used, the total saved and each trial and discount.

The Trial & discounts panel on Amelia Hart's member page: Codes used 2, Total saved $17.15, her free trial of Unlimited Monthly and the codes DEMOFOUND and DEMO20
The Trial & discounts panel on a member's page.

What members see

The Promotions tab

A member who has had a free trial or used a code gets a Promotions tab on their Member Dashboard. The number on the tab is how many trials are running.

Amelia Hart's Member Dashboard on the Promotions tab: a Free trial card for Unlimited Monthly, charged $49.00 after the trial, and a Your discounts card with DEMOFOUND ($7.35 saved) and DEMO20 ($9.80 saved)
The Promotions tab on the Member Dashboard.
The same Promotions tab on a phone: the Free trial card above the Your discounts card
The same tab on a phone.

Your offers list

Coupons with Show it on the site switched on can be listed on any page. Each card shows the discount, the coupon's name, how long it applies, its end date, the code with a Copy button and a Use Now button that works like the share link. Coupons that are off, ended or used up drop off the list by themselves.

An Offers this month list with two cards: Yoga 20% and Welcome offer, each 20% OFF on your first payment, with the code, a Copy button and a Use now button
The offers list, made with [gbpt_coupons title="Offers this month"].

Add it with the shortcode, the Coupon Showcase block (Block Tools) or the GB Coupon Showcase widget (Elementor Widgets). See Shortcodes and blocks.

Emails

The trial ending email: Hi Amelia Hart, your free trial of Unlimited Monthly ends in 3 days, trial ends October 28, 2026, you will then be charged $49.00, and a Manage my membership button
The trial ending email to the member.
The coupon ending email: A coupon is about to expire, coupon DEMOFOUND expires on October 30, 2026, redeemed 1 of 50 times, and an Open Promotions & Trials button
The coupon ending email to you.

Both emails use your site's name and Gym Builder's sender settings. Switch either off under Reminders.

Shortcodes and blocks

[gbpt_coupons] — your offers list: the coupons with Show it on the site on. With none, it says "No public offers right now."

OptionWhat it does
title=""A heading above the list.
layout="grid"grid, list or single (only the newest offer).
columns="3"2 to 4 cards per row, for the grid.
limit="6"How many coupons, 1 to 48.
show_expiry="yes"no hides the end date.

[gbpt_coupon_field] — the Apply code box for your own page.

OptionWhat it does
plan="123"Checks codes for one plan (its number).
placeholder=""The text inside the empty box. "Discount code" by default.

Questions

Can a member use two codes on one purchase?

No. One code per purchase. A code typed in the Stripe checkout window takes the place of one kept from a share link.

Can a member use the same code twice?

No. Each member can use a code once. They are told "You've already used this code."

I want to change a coupon from 20% to 25%. How?

Make a new coupon with the new discount, then turn the old one off. The code and the discount are locked once a coupon exists, because Stripe does not allow a discount to change.

Does a coupon count as used when someone places an offline order?

Only when you approve the order. An order that is never paid does not use up the coupon.

Can I offer a free trial on a class pass or a one-time plan?

No. Trials are for plans that renew through Stripe. A member who chooses One-Time pays at once.

What does the member pay during the trial?

Nothing. With Charge their card Stripe takes their card at the start and charges it when the trial ends. With Ask for a card first they may start without a card.

I switched Stripe from Test to Live. Do my coupons still work?

A coupon's Stripe copy is made in the mode that was on when it was saved. After switching to Live, open each coupon, click Edit, then Save: that makes its copy in Live mode.

Where is Stripe's own "Add promotion code" box?

It is never offered. Codes go through your site's box, so the plan limits and "once per member" are checked first.

Can coupons be used with Class Booking & Payment or Personal Session?

No. Coupons and trials are for membership plans sold through Stripe Payments or Offline Payments.

If something goes wrong