- Product Types
- Prices Types
- Adding Products
- One Time Pricing
- Subscription Pricing
- Subscription Trials Setup
- Installment Pricing
- Donation / Pay What You Want
- Inventory Management
- Product Variants
- Variant Images
- Digital Downloads
- Change Product Availability
- Product Collections
- First-Time Payment Discounts
- Manage Product Access
- Create Product With Free Trials
- Charge Set Up Fee on Trials
- Product List
- Product Pages
- Product Content
- Custom Buy Links
- Product SEO
- Change Permalinks
- Custom Fields
- Related Products
- Price Boost
- Product Bundle
- Product Reviews
- Product review shortcodes
- Test Mode/Payments
- Edit & Customize Form
- Change Form Template
- Delete SureCart Forms
- Add Checkout Form
- Checkout Form With Gutenberg
- Checkout Form in Elementor
- Custom Thank You Page
- Create Donation Form
- Customize Confirmation Popup
- Include Coupons in URLs
- Pre-Fill Checkout Fields
- Change Checkout Texts
- Password Field in Checkout
- Default Country Code
- Add Terms to Checkout
- Conditional Block Checkouts
- Remove Coupon Field
- Hide Quantity Option
- Disable Quantity Editing
- Disable Item Removal
- Country Specific Purchases
- Update Store Details
- Dark Mode
- Orders & Receipts
- Manage Slide-out Cart
- Customers Section Overview
- Create Customer
- Delete Customer
- Update Customer Details
- Edit Invoice Details
- Create Shipping Profiles
- Manage Shipping
- Disable Payment Processor
- Manage Store Notifications
- Manage PayPal Branding
- Transfer Store
- How to Download SureCart Purchase Invoice
- Vault – Redeem & Manage Your SureCart Pro Plan
- Enhance Performance Settings
- Invite Team Members
- Enable Spam Protection
- Sync WP Users
- User Roles & Permissions
- Export Data
- Clear Test Data
- Manage Email Notifications
- Remove User Roles
- Remove Plugin Data
- Delete Store
- Delete Business & User Account
- Guest checkout
- Switching Store Currency
- Fix View Order Button
- Fix Express Payment Buttons
- How To Stop Sending WooCommerce Notifications via SureCart?
- Fix PayPal Test Connection
- Fix Sign-In Loop
- Fix Order Confirmation Redirect
- Fix Divi Bullet Point Issue
- Fix Customer Dashboard
- Fix JSON Response Error
- Failed Payment Behavior
- Fix Stripe Zip Code Error
- Fix "Product Can’t Be Blank"
- Troubleshooting Guide
- PayPal IPN Warning Emails
- Caching Configuration for SureCart
- Why iDEAL Might Not Appear in Your CheckoutÂ
- Compatibility Guide
- Troubleshooting Stripe Payment
- Fix – SureCart store disconnected
- Configuring LiteSpeed Cache for SureCart
- Webhook Troubleshooting
Create Advanced Checkouts With the Conditional Block
This document explains how to use the Conditional block in SureCart to display checkout fields or messages based on specific conditions, such as customer location or selected products.
This document explains how to use the Conditional block in SureCart to display checkout fields or messages based on specific conditions, such as customer location or selected products.
Requirements
- WordPress admin access
- SureCart installed and activated
- An existing checkout form
What Is the Conditional Block
The Conditional block allows checkout content to appear or remain hidden based on defined rules.
Conditions can be created using factors such as:
- Selected products
- Shipping country
- Order value
- Applied coupons
- Payment method
When the defined rules are met, the blocks inside the Conditional block are displayed during checkout.
Use Case: Show a Tax ID Field Based on Customer Country
This example demonstrates how to display a Tax ID field only when the customer’s shipping country matches specific values.
- Go to WordPress Dashboard → SureCart → Checkout.
- Open the checkout form you want to edit.

- Click the + icon to add a new block.

- Search for Conditional and add the Conditional block.

- Select the Conditional block and click Add Conditions.

- In the Condition dropdown, select Shipping Country.

- Choose the countries where the field should appear (for example, United States, India, and Brazil).
- Click Set Rules.

- Click the + icon inside the Conditional block.

- Search for Tax and insert the Tax ID or VAT field.

- Update the label if needed (for example, SSN, CPF, or Tax ID).
- Click Update to save the checkout form.

The Tax ID field will now appear only when customers from the selected countries reach the checkout.

Use Case: Show a Pre-Order or Backorder Notice
You can also use the Conditional block to display messages for specific products, such as pre-order or backordered items.

- Go to SureCart → Checkout.
- Open the checkout form.
- Insert a Conditional block after the order summary.
- Add a condition based on Product(s).
- Select the product that should trigger the message.
- Click Set Rules.

- Inside the Conditional block, insert a Paragraph block.
- Enter the message you want customers to see (for example, pre-order details or delivery expectations).
- Click Update to save your changes.

When the selected product is added to the cart, the message will appear during checkout.

Expected Outcome
After configuring Conditional blocks, checkout fields and messages will appear dynamically based on the defined rules, providing a more context-aware checkout experience for customers.
Notes and Limitations
- Conditional blocks only affect the content placed inside them.
- Conditions are evaluated in real time during checkout.
- Multiple Conditional blocks can be used in the same checkout form.
FAQ
We don't respond to the article feedback, we use it to improve our support content.