Import file format reference

This article describes the sheets, columns and values of the import and export file. Use it when you edit an exported file or write one from scratch. The same reference is in the app under Help > File format.

The File format view on the Help page: How the file works, the table of sheets with their columns and the table of which option types use which columns

How the file works

Each sheet is a table. Every row carries the keys it belongs to, so you can sort and filter freely. Keys never change when you rename something.

To get a file with correct headers, export a set or download a template. See How to export your option sets. To import it, see How to import option sets from a file.

Sheets

Sheet One row is Key columns
option_sets One option set set_key, name
options One option, in the order customers see them set_key, option_key, position, type, label
values One choice of a dropdown, radio, checkbox, buttons, swatch, font picker, quantity or product list option set_key, option_key, value_key, position, label, price
conditions One rule that shows or hides an option set_key, option_key, condition_action, condition_match, source, source_option_key, op, value
translations One text in one language set_key, option_key, value_key, field, locale, translation

An Excel export also has a help sheet that describes the columns. The app ignores it on import.

option_sets

Column What it holds
set_key The set's key. It stays the same when you rename the set and ties the sheets together. Required.
name The set's name. Shown only in Sol. Required.
status active shows the set on your store. draft hides it.
applies_to all, products, collections or tags.
products Product handles, separated by commas. Used when applies_to is products.
collections Collection handles, separated by commas. Used when applies_to is collections.
tags Product tags, separated by commas. Used when applies_to is tags.
currency Your store currency when the file was exported. It is only used to check prices.

options

Column What it holds
set_key, option_key The set and the option. option_key is unique in its set. Empty on a new option means Sol makes one.
position The order customers see, starting at 1.
type The option type. It decides which other columns the option uses.
label The text customers see.
required, help_text, placeholder Whether customers must fill it in, the small text under the option, and the hint in an empty field.
char_limit The most characters customers can type, up to 1000.
min_value, max_value Smallest and largest number. For quantity, the least and most in total. For dimension, the smallest and largest side.
max_selections The most values customers can tick.
date_mode Ask for a date, a time, or both.
on_text The text next to a switch.
price, price_mode, unit_label An add-on price, whether it is fixed or per_unit, and the unit shown next to a per-unit price, like cm.
text The text of a heading, paragraph, group or popup, or the HTML of a rich text option.
step, default_value For a range slider: how far one move goes, and where it starts.
dimensions 2 asks for width and height. 3 adds depth.
min_days_ahead, max_range_days For a date range: the earliest start in days from today, and the longest range in days.
collapsed, button_text For a group: start closed. For a popup: the text on the button that opens it.
height The empty space of a spacer, in pixels, 4 to 80.
parent_key The option_key of the group or popup this option sits in.
file_types, max_files, max_file_mb For file upload: image, pdf or document (separated by commas), up to 10 files, and up to 10 MB each.
size_chart_title, size_chart_body, size_chart_image_url The size chart link title, its text (line breaks are kept) and an image hosted on cdn.shopify.com.

values

Column What it holds
set_key, option_key, value_key The set, the option and the value. value_key is unique in its option.
position The order customers see, starting at 1.
label The text customers see.
price The add-on price. Empty means no charge.
color A swatch color, like #1A2B3C.
image_url A swatch image hosted on cdn.shopify.com.
font The font a value is shown in.
product The product handle of an add-on product.

conditions

All rows of one option must use the same condition_action and condition_match. See How to show or hide options with conditions.

Column What it holds
condition_action show or hide the option when the rules match.
condition_match all: every rule must match. any: one rule is enough.
source What the rule looks at: option, variant or customer_tag.
source_option_key The option the rule looks at, when source is option.
op equals, not_equals, contains or not_contains.
value For an option, the value_key (on for a switch). For a variant, text in the variant name. For a customer tag, the tag.

translations

Column What it holds
field Which text is translated. Rows with a value_key translate the value's label.
locale The language code of a published store language, like fr or pt-BR.
original The text in your main language when the file was exported. It is not imported.
translation The translated text. Empty means customers see the original.

See How to translate your options.

Allowed values

Column Values
status active, draft
applies_to all, products, collections, tags
required true, false (yes/no and 1/0 also work)
date_mode date, time, datetime
price_mode fixed, per_unit
font serif, elegant, sans, rounded, block, narrow, script, mono
condition_action show, hide
condition_match all, any
source option, variant, customer_tag
op equals, not_equals, contains, not_contains
field label, help_text, placeholder, on_text, text, button_text, size_chart_title, size_chart_body

Which option types use which columns

The type column takes these names: dropdown, radio, checkbox, buttons, color_swatch, image_swatch, switch, font_picker, product_list, quantity, text, textarea, number, date, email, phone, color_picker, range_slider, dimension, date_range, file_upload, heading, divider, paragraph, group, popup, spacer and html (rich text).

Every type uses label, help_text and parent_key, except group and popup, which cannot sit inside another option and have no parent_key. The table lists the extra columns of each type. A value in a column that the type does not use is an error.

Types Extra columns in options Columns in values
dropdown, radio, buttons required, size chart columns label, price
checkbox required, max_selections, size chart columns label, price
color_swatch required, size chart columns label, price, color
image_swatch required, size chart columns label, price, image_url
font_picker required, size chart columns label, price, font
switch required, on_text, price, size chart columns None
product_list required, max_selections label, price, product
quantity required, min_value, max_value label, price
text, textarea required, placeholder, char_limit, size chart columns None
email, phone required, placeholder, size chart columns None
number required, placeholder, min_value, max_value, price, price_mode, unit_label, size chart columns None
date required, date_mode, size chart columns None
color_picker required, size chart columns None
range_slider min_value, max_value, price, price_mode, unit_label, step, default_value None
dimension required, min_value, max_value, price, price_mode, unit_label, dimensions None
date_range required, min_days_ahead, max_range_days None
file_upload required, price, file_types, max_files, max_file_mb None
heading, paragraph, html text None
divider None None
spacer height None
group text, collapsed None
popup text, button_text None

Example: values sheet

Only the option types that list columns under Columns in values in the table above have rows in this sheet. A switch has none, because its price sits in the options sheet.

set_key option_key value_key position label price
gift-wrapping box-size small 1 Small (10 cm) 0
gift-wrapping box-size large 2 Large (20 cm) 12.50
engraving font serif 1 Serif 0
engraving font script 2 Script 2.00

Related articles

← How to import options from another app