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
Each choice filters the next list. Pick a state, and the City list shows only that state’s cities.
Set it up
Add Dependent Dropdowns
Go to Blocks → Create New Block → Start Fresh. Click Add block and choose Dependent Dropdowns.
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.
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.
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
- Open checkout. Pick a state: the next list shows only its cities.
- Leave a level empty and try to continue. Checkout stops with your Validation Error Message.
- Place a test order and look under Additional details.
Good to know
- Combined saves one JSON value (the
dependent_dropdownattribute if you set no name). Separate saves one attribute per level, named after the column, likestate. - 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.