Import Options

Simple Text File Import

For basic option imports, you can use a plain text file (.txt ). If you don't need translations or additional fields, this is the simplest way to import options.


Requirements:

  • First line must contain the word value (lowercase)
  • One option per line

Example text file:


value

Small

Medium

Large

Extra Large

Advanced CSV Import

For more advanced option configurations, use a CSV file format.

Available Columns

Column Name Required Description
value ✅ Yes The option value
amount ❌ No Price associated with the option
selected ❌ No Whether the option should be pre-selected
allow_quantity ❌ No Whether quantities are allowed for this option
props ❌ No Used for storing translations in JSON format

Example CSV file

value,amount,selected,allow_quantity,props

Small,10.99,true,true,{"languages":{"es":"Pequeño","fr":"Petit"}}

Medium,12.99,false,true,{"languages":{"es":"Mediano","fr":"Moyen"}}

Large,14.99,false,true,{"languages":{"es":"Grande","fr":"Grand"}}

Extra Large,16.99,false,true,{"languages":{"es":"Extra Grande","fr":"Très Grand"}}


Notes:

  • The CSV file must include the header row with column names
  • Only the value column is mandatory; all other columns are optional
  • Use standard CSV formatting rules (comma-separated values)
  • The props column accepts JSON format, primarily used for translations. For example:

    { "languages": { "es": "Spanish translation", "fr": "French translation" // ...other language codes } }

Still need help? Contact Us Contact Us