This article requires the GP Conditional Pricing perk. Buy Gravity Perks today to get this perk plus 32 other galatic Gravity Forms plugins!
When promoting upcoming events, one of the best ways to encourage early ticket sales is to implement early bird pricing. This rewards attendees for buying their ticket now versus waiting to purchase later.
In this tutorial, we will use two of our Perks, GP Conditional Logic Dates and GP Conditional Pricing, to setup early bird pricing with Gravity Forms.
Our demo form will include a Date field and a product field. The Date field will dynamically populate the current date which will then be used to dynamically determine the base price per ticket.
Ready to get started? Here we go!
Steps
1. Add a Date field
First, we’ll add a Date field to our form. We will label this field “Today’s Date”. This field will be used to determine the price per ticket.
Once created, Visit the “Advanced” tab of the field and enter the current date merge tag {date_mdy} in the “Default Value” setting. This merge tag will generate the current date and set it as the value of the date field.
Note that we have this field visible for demonstration purposes only. Since the user should not be able to select the date, we would hide this field in a live form by adding the gf_invisible ready class to the field.
To do this, visit the “Appearance” tab of your field then add gf_invisible to the “Custom CSS Class” setting.
2. Add a Product field
Next, we’ll add a product field to the form. We will call this field “Ticket Price”. Set a base product cost of $25.00.
3. Create Pricing Rules Based on Current Date (with GP Conditional Pricing).
Finally, we will configure the conditional pricing rules for the form. GP Conditional Pricing combined with GP Conditional Logic Dates will allow us to modify the “Ticket Price” based on the “Current Date.”
- Install and activate GP Conditional Pricing.
- Install and activate GP Conditional Logic Dates.
- Select “Conditional Pricing” from the Form Settings menu.
- Select the Ticket Price field from the “Select a Product” drop down.
- Create your first pricing rule.
- Click the “Add New Pricing Level” button to create additional pricing rules for this product.
Here is how we’ve configured our pricing rules for the demo. Each pricing level specifies the conditions that should be met for that pricing level to apply. The product price is automatically adjusted whenever a new pricing level’s conditions are met.
You’re all set, now go sell some tickets!
What questions do you still have?
Do you still have any questions about how to get this setup? We’d love to know what they are. Let us know!




