<!--
canonical_url: https://university.spiffy.co/faq/select-checkout-options-with-url-parameters/
post_id: 4318
post_type: post
last_modified: 2023-10-26T19:56:16+00:00
generated_at: 2026-04-16T16:18:10+00:00
-->

# Select Checkout Options with URL Parameters

![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-24-at-1.46.37-AM.png)You can pass values through the URL to the Checkout, to pre-select specific Subscription Plans, and Options when the Checkout loads.

This is super simple to setup, even though it may sound complex. We’ll guide you step-by-step.

This functionality is based on Options storing a value into a Custom Field on the Spiffy Checkout.

To select an Option with a URL parameter, we will simply pass the desired value to that custom field, and that will auto-select the desired option.

To auto-select an option, you will need an **_Option Value_**, and a **_Field ID_** for a _Custom Order Field_ where the Option Value can be stored. We will need to adjust some checkout settings on your options to map Options on your checkout to store Option Values into that Custom Field.

In the URL above:

- The **_Field ID_** for the custom field we are using to store the _Option Value_ is **_plan_name_**
- The **_Option Value_** for the option we want to be selected is **_monthly_**

**After following the instructions below** to prep your Checkout, we can add **_?plan_name=monthly_** at the end of the Checkout URL to auto-select a specific option or subscription plan with a URL parameter.

**Note:** Currently, it’s NOT possible to select _**Payment Plans**_ with URL parameters. If this would be a feature that is useful for you, please reach out to us at support@spiffy.co and let us know.

**Here are the major steps:**

1. **[Create a Custom Order Field](#create-a-custom-order-field)**
2. **[Add Options to a Checkout](#add-options-or-subscriptions-to-a-checkout)**
3. **[Set your Options block to map to the Custom Order Field you created. ](#map-options-to-a-custom-field)**
    _Note: For subscription options, you will also need to set a value for each subscription option in the subscription option settings._
4. **Publish your Checkout**
5. **Test URL Parameters on Checkout**

Below we will break down each step.

## Create a Custom Order Field

![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-23-at-2.18.41-PM.png)1. In the left navigation menu, click on **_Fields_**
2. Click **_Create New Field_** at the top right of the _Fields_ page
3. Make sure **_Order Field_** is selected. We want this value tied to an _Order Record_
4. Enter the **_Field Name_**
5. Edit the _**Field ID**_ (optional)
6. Click **_Save_**

## Add Options or Subscriptions to a Checkout

Add any type of **_Options_** to your Checkout.

[Learn more about adding Options.](https://university.spiffy.co/elements/options.md)

Or, add **_Subscriptions_** to your Checkout.

[Learn more about adding Subscriptions.](https://university.spiffy.co/subscriptions/creating-subscriptions.md)

## Map Options to a Custom Field

We want to take a couple of steps to make sure that when a checkout Option or subscription is selected, it stores a specific value in that custom field. This is important because the custom field value is what controls what option is selected. When we pass values through the URL, we fill the custom field with the value that matches the value for an option, and we can control what option is selected.

![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-23-at-2.21.55-PM.png)At the top of your Options Settings sidebar, you will see a blue button labeled **_Save selections to a field_**.

1. Open your Options settings sidebar.
2. Click **_Save Selections to a field_**
3. Click in the dropdown field, and **_Select the Custom Field_** we created to store the option value

![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-23-at-2.22.44-PM.png)4. Find OR set your **_Field__Values_** for each option.
    - **a) Setting up Options?**
        **_Field__Values_** are _auto-generated_ for Options, but _can_ be edited.

        _See the first screenshot below_. Under each Option label, you will see the _Field Value_ for each option in smaller gray text. The auto-generated Field Value will be very similar to the Option Label.

        - Eg.
            Option Label = General Admission
            Option Field Value = general-admission

            Option Label = VIP
            Option Field Value = vip
    - **b) Setting up Subscriptions?**
         You must create **_Field_ _Values_** for each subscription plan on each checkout.

        **_See the second screenshot below._** Under the settings for each **_Subscription Option_**, you will see a text input for **_Field Value_**. This is where you can set the **_Field Value_** for your _Subscription Options._

        - Eg.
            Subscription Option Label = Monthly
            Subscription Option Field Value = monthly _(editable)_

![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-24-at-7.30.55-PM.png)![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-23-at-2.23.35-PM.png)5. Be sure to **Save** your Option settings. Click **_Save_** at the top right of the sidebar.

![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-24-at-8.21.11-PM.png)6. **Publish** your changes to your Checkout

![](https://university.spiffy.co/wp-content/uploads/2022/08/Screen-Shot-2022-08-24-at-7.58.30-PM.png)## Test Your URL Parameters

Now, give your setup a test!

Append your Checkout URL with ? then your **_Field ID_** equals your **_Option Field Value_** as parameters.

?**Field_ID**=**Option-Field-Value**

You will add this to the end of your Spiffy Checkout URL

  example

**Custom Field ID** = experience
**Option Field Value** = general-admission

Add this to the end of your Checkout URL.

?experience=general-admission

**Your URL should look something like this:**
https://_yourcompanyname_.spiffy.co/checkout/_your-checkout-slug_**?Field_ID=Option-Field-Value**
