What does it do?
This plugin allows you create flexible and powerful pricing levels for your Gravity Form Product fields.
Save yourself the hassle and frustration of creating twenty different Product fields with different prices when what you really want is a single Product field with a variable price.
Gravity Forms Conditional Pricing can handle even the most complicated pricing variations with an easy-to-use interface for creating unlimited pricing levels per Product field.
- Pricing levels for Gravity Forms Product fields.
Create an unlimited number of flexible and powerful pricing levels.
- Intuitive interface for managing pricing levels.
Manage Product pricing using familiar conditional logic rules.
- Offer bulk discounts, pricing based on user input, and more!
Build complex pricing rules without the headaches.
- Improved performance.
A single Product field replaces twenty Product fields containing conditional logic, improving site performance.
- Integrates with Gravity Forms Conditional Logic Dates.
Apply date-based pricing rules with Gravity Forms Conditional Logic Dates, also part of the Gravity Perks plugin suite.
- Automatic updates.
Get updates and the latest features right in your dashboard.
- Awesome support.
We’re here to help! And we mean it.
- How do I enable this functionality?
- Feature Details
- Additional Information
- Known Limitations
How do I enable this functionality?
After installing and activating Gravity Forms Conditional Pricing, you can create Conditional Pricing feeds for any Single Product, Drop Down, Radio Button or Hidden Product field. Let’s walk through that process.
Now that you know how to create pricing rules, let’s dive into what Conditional Pricing can do.
Pricing Levels consist of a price and a set of Pricing Rules that determine which pricing level should be used for the Product field’s price.
You can create an unlimited number of Pricing Levels for each of your Product fields. Levels can be rearranged by dragging and dropping them in your preferred order.
Pricing Rules work just like Gravity Forms’ default conditional logic but instead of showing/hiding a field, the Pricing Rules determine which Pricing Level will be used to set the price of the Product field.
Pricing Rules consist of three fields:
- A list of all fields on your form that are available for conditional logic.
- A list of all the operators that can be used to compare the value of the first field with the value of the third input.
- The value to which the selected field will be compared. The format of this field will change based on the selected field type.
Just like conditional logic in other parts of Gravity Forms, you can add an unlimited number of rules to any Pricing Level by hitting the plus icon.
Pricing Importer (Beta)
The Pricing Importer tool allows you to update pricing rules in bulk from a CSV file.
To enable the Pricing Importer tool, add this filter to your functions.php file:
add_filter( 'gpcp_enable_importer', '__return_true' );
Once this function is added, navigate to Form Settings › Conditional Pricing, select the product you want to update, and click Import Pricing Levels:
Choose your CSV file and click Prepare Import File.
Inside this UI, you’ll find a list of importing options, including the ability to append, prepend, and merge pricing rules.
How do the rule replacement options work?
- Merge: Add new pricing levels from the import file. Existing pricing levels are not updated.
- Replace All: Replace all existing pricing levels with new pricing levels in the import file.
- Replace Matching: Replace existing price levels only for matching products in the import file.
If you have different CSV files for each product, consider using the Replace Matching method instead.
Here’s an example of what things look like post-import:
Reminder: Make sure to click the Save Conditional Pricing button to save the imported pricing rules.
If you’re using Conditional Pricing with the WooCommerce Gravity Forms Product Addons, do not use the
hidden-total class as recommended in their documentation. Instead add the
gf_invisible class to achieve the same result.
- Gravity Forms does not have a reliable way to uniquely identify choices in choice-based fields. As such, pricing rules for individual Drop Down and Radio Button products are index-based. Removing or reordering choices in a Drop Down or Radio Button Product will corrupt your pricing rules.
- Conditional Pricing does not support User Defined Price or Calculation Product fields.
- Option fields are not currently supported.
Can I show updated prices in choice-based Product fields?
We have a two-part snippet that will display prices in choice-based fields and update them when pricing conditions change. Follow these steps to use it:
- Paste this PHP snippet into your theme’s functions.php file.
With the two snippets installed, prices for choice-based fields will automatically update as the user interacts with the form.
- Conditionally Display a Field Based on a Recurring Date
Automatic Conditional Logic with wildcard dates.
- Gravity Forms eCommerce Tutorial | The Comprehensive Guide
A comprehensive guide to Gravity Forms eCommerce and the addons, snippets and tutorials you need to amplify your eCommerce store using Gravity Forms.
- How to Add Three Decimals with Gravity Form Currencies
Most default currencies in Gravity Forms will be set to two decimal places. If you need to change this to three decimal places, or some other number, this guide will show you how.
- How to Build a Player Roster with Age-Based Pricing
Register players with age-based registration fees in a single form submission.
- How to Do Calculations with Gravity Forms
If you’re using Gravity Forms on your WordPress website, you might need an easy way to do Gravity Forms calculations on form fields and user submissions.
- How To Set Up Conditional Pricing with Nested Forms
Want to provide discounts for large groups? Learn how to offer quantity-based discounts with Nested Forms and conditional logic.
- How to Setup Bulk Pricing with a Calculated Unit for Gravity Forms
Calculate how much of a product is being ordered and dynamically set the unit price based on the calculated value. Useful for dimension-based calculations like square footage and volume.
- How to Setup Bulk Pricing with Gravity Forms
Offer your customers discounted rates when they buy in bulk. The more they order, the lower the price.
- How to Setup Early Bird Pricing with Gravity Forms
Discount your Gravity Form products if your form is completed before a certain date or specific amount of time before today's date.
- How to Setup Rush Pricing with Gravity Forms
Charge a little extra if the user selects a delivery date that is within a certain time frame of the current date or a specific date in the future.
- Unlocking Gravity Forms Conditional Pricing’s Secret Features with Yearbox.com
See how one customer used a secret bulk importer feature in GP Conditional Pricing to create one product with 960 price points and save dozens of hours in the process.