# Redirect external funnel to CheckoutChamp Checkout

## This document reviews how to route a sales funnel to CheckoutChamp for checkout. <a href="#redirectexternalfunneltocheckoutchampcheckout-thisdocumentreviewshowtorouteasalesfunneltocheckoutcha" id="redirectexternalfunneltocheckoutchampcheckout-thisdocumentreviewshowtorouteasalesfunneltocheckoutcha"></a>

* [Acquire your Checkout Page URL](#redirectexternalfunneltocheckoutchampcheckout-acquireyourcheckoutpageurl)
* [Products](#redirectexternalfunneltocheckoutchampcheckout-products)
* [Coupons](#redirectexternalfunneltocheckoutchampcheckout-coupons)
* [Form Fields](#redirectexternalfunneltocheckoutchampcheckout-formfields)

***

### Acquire your Checkout Page URL <a href="#redirectexternalfunneltocheckoutchampcheckout-acquireyourcheckoutpageurl" id="redirectexternalfunneltocheckoutchampcheckout-acquireyourcheckoutpageurl"></a>

Redirect a button or link on your shopping site to the full URL of your CheckoutChamp checkout page.

This can be found by opening the checkout page’s settings within the [Funnel Visualizer.](https://help.checkoutchamp.com/funnel-builder/creating-and-editing-funnels-pages/funnel-visualizer-and-page-builder/funnel-visualizer)

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FusrEUefro7X2jbKBMHDA%2Fimage.png?alt=media&#x26;token=5b268748-2c02-4603-b088-b7e80da96b24" alt=""><figcaption></figcaption></figure>

Example:

[https://checkout.mysite.com/checkout](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

***

### Products <a href="#redirectexternalfunneltocheckoutchampcheckout-products" id="redirectexternalfunneltocheckoutchampcheckout-products"></a>

If there are products to pass, such as from a filled shopping cart, include the “products” parameter. The syntax is

*?products=campaignProductId:quantity*

Include a variant by adding a period and variantDetailId to the campaignProductId

*?products=campaignProductId.variantDetailId:quantity*

Use an external product id by putting EXT in front of the external id.  This method must use the external product id on the base product in CheckoutChamp.  That external product id was set when the product was synced into CheckoutChamp.  It is not editable.  This method should NOT use the CheckoutChamp campaignProductId.

*?products=EXTexternalId:quantity*

{% hint style="info" %}
campaignProductId and variantDetailId are the unique IDs for your products within your CheckoutChamp campaign. Reminder that this is NOT your product id. If you have questions about this, please reach out to your account manager for clarity.\
\
Quantity is required. Separate multiple products with a semi-colon.
{% endhint %}

Examples:

[https://checkout.mysite.com/checkout?products=234:1](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

[https://checkout.mysite.com/checkout?products=234:1;235:2](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

[https://checkout.mysite.com/checkout?products=87.45:3;79:2](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

[https://checkout.mysite.com/checkout?products=87.45:1;87.46:2](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

[https://checkout.mysite.com/checkout?products=87.45:1](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

[https://checkout.mysite.com/checkout?products=EXT463432010:1](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

How to locate your campaignProductId and variantId

The campaignProductId is found within your offers/upsells list within your campaign.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FCE1vs8188A5EwcBpDshw%2Fimage.png?alt=media&#x26;token=f2052446-dce6-4898-8f62-cf45df0cddb5" alt=""><figcaption></figcaption></figure>

The variantId is found within the base product that the offer/upsell was built with. You can determine the base productId by editing the offer/upsell configuration, then use the Product Search page to edit the base product and view the list of variants, with their associated Ids.

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2F44W0a8NPCzR4AUNxgNnd%2Fimage.png?alt=media&#x26;token=6c79a3e3-a17b-408a-bbed-3e62cf50c8be" alt=""><figcaption></figcaption></figure>

**Note**: If you’re using Woocommerce see this guide [here](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/woocommerce-plugin/woocommerce-checkout-redirect).

***

### Coupons <a href="#redirectexternalfunneltocheckoutchampcheckout-coupons" id="redirectexternalfunneltocheckoutchampcheckout-coupons"></a>

To route to CheckoutChamp with automatic coupon application, include the couponCode parameter. Coupons can be passed with or without products. Coupons must first be entered on the funnel campaign to be recognized. It is not required to pass couponCode to a checkout page. couponCode can also be passed to any page prior to checkout, and will be maintained until the cardholder completes checkout.

Examples:

[https://checkout.mysite.com/checkout?products=234:1\&couponCode=HALFOFF](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

[https://checkout.mysite.com/checkout?couponCode=10OFF](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

***

### Form Fields <a href="#redirectexternalfunneltocheckoutchampcheckout-formfields" id="redirectexternalfunneltocheckoutchampcheckout-formfields"></a>

Prefill the the standard form fields on your CheckoutChamp forms by including the value(s) on the query string.

Examples:

[https://checkout.myfunnelsite.com/checkout?\&emailAddress=jd@emaildomain.com](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)

[https://checkout.myfunnelsite.com/checkout?products=234:1\&couponCode=HALFOFF\&firstName=John\&lastName=Doe\&emailAddress=jd@emaildomain.com](https://help.checkoutchamp.com/funnel-builder/redirect-storefront-to-checkoutchamp/redirect-external-funnel-to-checkoutchamp-checkout)
