Skip to content
On this page
Block guide Custom Fields 1 min read Updated Sep 28, 2026

How to set up the Dependency Dropdown block

In short

Dependency Dropdown adds linked lists to checkout, where each choice filters the next, like State, then City. By default every level is required before the buyer can continue.

Category

Custom Fields

Plan

Advanced & Deluxe

Where it shows

Shopify checkout

Saves to order

Attribute or metafield

✓ Applies to

  • Advanced and Deluxe plans
  • Shopify Plus checkout
  • Any checkout position: body, after the header, or around the delivery address

✕ Doesn't apply to

  • A single independent list. Use the Dropdown block
  • Options that change with stock or delivery availability. The lists are fixed data you enter
Only need one list? Use the Dropdown block →
Checkout
Order summary 1 item
Cotton Crew Tee
Qty 1 · Midnight
$48.00
Delivery
Scheduled
opens dates
Date
Sat, Jun 20
filters slots
Time slot
9 AM – 12 PM
What your buyer sees in checkout

Each choice filters the next list. Pick a state, and the City list shows only that state’s cities.

Set it up

1

Add Dependent Dropdowns

Go to Blocks → Create New Block → Start Fresh. Click Add block and choose Dependent Dropdowns.

2

Add your data

Under Dropdown Data, rename the columns to what buyers see, like State, City, Town. Click Add Row for each full path, or click Import CSV.

3

Choose how it's saved

Keep All Fields Required on Yes to make every level a must. Pick a Storage Mode: one combined field, or one field per level.

4

Save and place it

Click Done, then Save. Paste the Block ID into a Custom Block in the checkout editor and allow it to block checkout progress. See how.

Your CSV

The first row holds the column names. Each next row is one full path. Wrap values that contain a comma in double quotes. Importing replaces everything.

State,City,Town
California,Los Angeles,Hollywood
California,San Francisco,Mission

Check it works

  1. Open checkout. Pick a state: the next list shows only its cities.
  2. Leave a level empty and try to continue. Checkout stops with your Validation Error Message.
  3. Place a test order and look under Additional details.

Good to know

  • Combined saves one JSON value (the dependent_dropdown attribute if you set no name). Separate saves one attribute per level, named after the column, like state.
  • Renaming a column in Separate mode changes the attribute name on future orders.
  • Up to 10 columns and 1,000 rows.
  • Buyers see the same text that’s saved. You can’t save a different code.

Not working?

  • Next list is empty: check spelling. Los Angeles and Los angeles are different.
  • Buyers skip levels: check All Fields Required is Yes and the block can block checkout progress.
  • Import error: every column needs a unique name in the first row.

Want to see this block in a live checkout first? See examples and use cases →

Frequently asked

How do I import a large list of options? +

Click Import CSV, then upload a CSV file or paste CSV text. The first row holds the column names (one per dropdown level), and each following row is one complete path, such as California,Los Angeles,Hollywood. Importing replaces the current data.

What's the difference between Combined and Separate storage? +

Combined saves every level in one field as JSON, such as a single dependent_dropdown attribute. Separate saves each level as its own attribute, named after its column in lower case with spaces turned into underscores.

Does it block checkout? +

Yes, when All Fields Required is Yes (the default). Checkout stops with your Validation Error Message until every level has a value.

How many levels and rows can I add? +

Up to 10 columns and 1,000 rows in the editor.

Related guides

More Custom Fields blocks

Still stuck? Open the app and use Support to chat with the team, or contact us. Don't have the app yet? Install Checkout Ninja.