FunnelKit
FunnelKit Documentation
Get unstuck with our helpful reference material

Checkout Page

Set Up Conditional Sections In Checkout Form

Conditional sections appear only when certain criteria are met. 

In this documentation, we will show you how to set up different conditional sections in Funnelkit Checkout. 

For example, we will share how to hide the shipping section when the cart only has digital items. 

How To Set Up Conditional Sections In Checkout Form 

Step 1: Add the conditional section to the checkout form

First, add the section you want to make conditional to the WooCommerce checkout form. In our case, this is the shipping section.

Checkout form editor showing the shipping section being added as a conditional section in FunnelKit Checkout

Step 2: Add  a condition 

Next, hit the option “Add Condition”. 

Interface showing Add Condition button used to start configuring conditional logic for a checkout section

Expand your target section and select “Apply To Entire Section.” Then, hit “Add Condition” to start adding a condition. 

Note: You can hit on “+ Add Section” to add multiple sections under the same condition that we will set in the next step. 

Checkout builder interface showing Apply To Entire Section option and adding multiple sections under a single condition group

Next, you need to select a condition type. There are three types: User, Carts & Sections. 

Note: Later in this documentation, you will find all the available parameters.

Condition type selector showing available options like User, Cart, and Sections for conditional checkout rules

Once you select each condition, you can select from different parameters. 

Here, we are going with the Cart Category under Cart. 

After you select the category, you can set the condition. Example: Cart is Virtual Is Not Yes. That means this section will only show up if the cart has physical products. 

Cart condition setup showing Cart Category set to Not Virtual so the section displays only for physical products

Finally, hit Add to save the checkout section. 

Step 3: Test the conditional section 

Now, to test, place an order that meets the criteria. In this case, the cart should contain a product from the “Wholesale” category to show the company name section. 

Checkout test scenario where an order with Wholesale category products triggers the conditional section to appear

If conditions are not met, then the section will not show up. 

Checkout preview showing conditional section hidden because cart conditions are not satisfied

Set Up Multiple Conditions for a Specific Section 

With Conditional Sections by FunnelKit Funnel Builder, you can set multiple conditions in two ways: within the same group using the “AND” operator, or by creating different groups to apply the “OR” logic.

  • In the same group (AND): All conditions must be met for the section to appear.
  • In different groups (OR): The section will appear if any one group’s conditions are satisfied.

Let’s take the VAT Number section as an example.

Using AND (Same Group)

For example, you can add conditions like:

  • Billing Country is one of the VAT-applicable countries
  • Cart Total is greater than 0
AND condition setup showing VAT rules where billing country and cart total must both meet requirements

Using OR (Different Groups)

To expand flexibility, click on “Create Filter Group” to add an OR condition.

For example, you can set:

  • Group 1: Billing Country is in the EU
  • Group 2: User Role is Wholesale Customer

This means the VAT section will appear if:

  • The customer is an EU business buyer
  • OR the user is a wholesale customer
OR condition setup showing multiple filter groups for VAT rules based on EU billing country or wholesale user role

Available Parameters For Conditional Field 

User

This is applicable when you want to show or hide fields based on the customer’s account details. These conditions help you target users based on their role or login status.

ConditionDescriptionExample Usage
User RoleChecks the role assigned to the user in your store (e.g., Subscriber, Customer, Wholesale)Show a field only if the user role is “Subscriber” to target logged-in users
User StatusChecks whether the user is logged in or browsing as a guestDisplay a special note or field only for logged-in users and hide it for guests

Cart 

These conditions let you show or hide fields based on the contents and properties of the customer’s cart.

ConditionDescriptionExample Usage
Cart TotalChecks the total amount of the cartShow a field only if the cart total is greater than $500
Cart ItemsChecks for specific products in the cartShow a field if the cart contains the product “Premium T-Shirt”
Cart CategoryChecks if products from a certain category are in the cartShow a field if the cart contains items from the “Wholesale” category
Cart TagChecks if products with a specific tag are in the cartDisplay a field if the cart has products tagged “Summer Sale”
Cart Item CountChecks the total number of items in the cartShow a field if the cart has more than 3 items
Cart CouponsChecks if a specific coupon is appliedDisplay a field when the coupon “WHOLESALE10” is used
Cart is VirtualChecks if the cart contains only virtual/downloadable productsShow a field if all items in the cart are virtual products

Fields 

These conditions let you show or hide fields based on the information the customer enters at checkout.

Contact Information

ConditionDescriptionExample Usage
EmailChecks the customer’s email addressDisplay a field for users with a company email (e.g., ending with @company.com)
Company NameChecks the company name fieldShow a field only if a company name is entered
PhoneChecks the phone number fieldShow a field only if a phone number is provided (e.g., 555-123-4567)

Shipping Address

ConditionDescriptionExample Usage
First NameChecks the first name fieldShow a field if first name is “John”
Last NameChecks the last name fieldShow a field if last name is “Doe”
Street AddressChecks the street address fieldDisplay a field if street address is “123 Main St”
Apartment, Suite, Unit, etc.Checks additional address lineShow a field if apartment/unit is “Apt 4B”
Town / CityChecks the city fieldDisplay a field if city is “New York”
ZIP CodeChecks the postal/ZIP codeShow a field if ZIP code is “10001”
Country / RegionChecks the country or regionDisplay a field if country is “United States”
StateChecks the state/provinceShow a field if state is “NY”

Billing Address

ConditionDescriptionExample Usage
Street AddressChecks the street address fieldDisplay a field if billing street address is “456 Elm St”
Apartment, Suite, Unit, etc.Checks additional address lineShow a field if billing apartment/unit is “Suite 210”
Town / CityChecks the city fieldDisplay a field if billing city is “Los Angeles”
ZIP CodeChecks the postal/ZIP codeShow a field if billing ZIP code is “90001”
Country / RegionChecks the country or regionDisplay a field if billing country is “United States”
StateChecks the state/provinceShow a field if billing state is “CA”
Ready to Transform Your Store?
Join 40,300+ successful store owners who trust FunnelKit to power their businesses.
Conversion Optimized Checkout Pages
Increase Revenue with Smart Upsells
Capture Emails & Recover Abandoned Carts
Automate Winbacks & Repeat Sales
977+ 5 star reviews on WordPress.org
Transform your store to power your business with FunnelKit
🚀 Maximize Your Profit with FunnelKit – Highest Rated with 977+ 5-Star Reviews
Get Started