All docs / Modules

Thank You Pages

Redirect customers to custom thank you pages after purchase based on order conditions.

Redirect customers to custom thank you pages after purchase based on order conditions. You can create multiple overrides with different URLs and conditions — the topmost matching override wins.

Navigate to InfusedWoo > Modules > Thank You Pages.

Thank You Pages showing the overrides list with condition badges and reorder arrows

How It Works

Instead of WooCommerce’s default order-received page, InfusedWoo can redirect customers to a custom URL. You create overrides — each has a name, URL, and one or more conditions. After checkout, InfusedWoo evaluates overrides from top to bottom and redirects to the first one whose conditions all pass.

Creating an Override

  1. Click Add Override
  2. Enter a name (for your reference, e.g., “VIP Thank You Page”)
  3. Enter the Thank You Page URL (must start with http:// or https://)
  4. Optionally enable Pass Contact Information to append customer data as query parameters
  5. Set one or more conditions (or leave as “Always” to match all orders)
  6. Click Create Override

Override editor form showing name, URL, pass toggle, and condition dropdown

Conditions

Each override can have one or more conditions. All conditions must be met (AND logic).

ConditionWhat it checks
AlwaysRedirects all customers (no condition)
Order contains certain productsOrder has specific WooCommerce products
Order contains products from categoriesOrder has products in certain categories
Total order value is more thanOrder total exceeds an amount
Total order value is less thanOrder total is below an amount
Total item count is more thanNumber of items exceeds a count
Total item count is less thanNumber of items is below a count
Coupon code is appliedA specific coupon was used (comma-separated for multiple)
Payment gateway usedA specific payment gateway was selected

Multiple Conditions

Click + Add Condition to add more conditions. All conditions must pass for the override to trigger. For example: “Order value > $100 AND order contains products from ‘Premium’ category.”

Pass Contact Information

When the Pass Contact Information toggle is on, InfusedWoo appends customer and order data as URL query parameters to the redirect URL.

Customer Data

ParameterValue
FirstNameBilling first name
LastNameBilling last name
EmailBilling email
PhoneBilling phone

Billing Address

ParameterValue
StreetAddress1Billing address line 1
StreetAddress2Billing address line 2
CityBilling city
StateBilling state
CountryBilling country
PostalCodeBilling postal code

Shipping Address

ParameterValue
Address2Street1Shipping address line 1
Address2Street2Shipping address line 2
City2Shipping city
State2Shipping state
Country2Shipping country
PostalCode2Shipping postal code

Order Data

ParameterValue
WooOrderIdWooCommerce order ID
InfusionOrderIdKeap order ID (if synced)
contactIdKeap contact ID (if available)

Example Redirect

https://yoursite.com/thank-you/?FirstName=John&LastName=Doe&[email protected]&WooOrderId=456&InfusionOrderId=789&contactId=123...

You can read these parameters on your thank you page using the [iw_get_val] shortcode:

Thanks, [iw_get_val field="FirstName"]! Your order #[iw_get_val field="WooOrderId"] is confirmed.

Customizing Parameter Names

Use the iw_ty_variable_key filter to rename any parameter key:

add_filter('iw_ty_variable_key', function($key) {
    if ($key === 'FirstName') return 'first_name';
    return $key;
});

Priority & Ordering

Overrides are evaluated top to bottom. Use the up/down arrows on each row to reorder. The first override whose conditions all pass wins — no further overrides are checked.

Tip: Put specific overrides (e.g., “VIP products”) above general ones (e.g., “Always redirect”).

Managing Overrides

  • Edit — Click Edit to modify an override’s name, URL, conditions, or pass-through setting
  • Delete — Click Delete to permanently remove an override
  • Reorder — Use the up/down arrows to change priority

Use Cases

  • Redirect VIP product buyers to a membership access page
  • Send high-value orders ($500+) to a personalized thank you page
  • Route coupon users to a special offer page
  • Show different pages based on payment method (e.g., separate page for bank transfer with payment instructions)
  • Always redirect to a branded thank you page instead of the default WooCommerce one