- CSVI 6.0+
- Joomla 3.0+
- VirtueMart 3.0 or higher
- PHP 5.4
To import/export custom fields CSVI uses the Custom field import and Custom field export operations. These operations are available after choosing Import or Export -> VirtueMart under Options.
The custom fields import requires the following fields:
Optional but recommended fields
An example CSV file looks like this:
"Customer text input";"textinput";"CSVI Import";"Type here";"E"
Let's have a closer look at the fields.
This field contains the name of the plugin that is used for the custom field. A list of supported plugins can be found in the Plug-in Manager: Plug-ins section. The Plug-in Name you see here is what needs to be put in the plugin_name field.
This is a bit of an odd one. The custom_element you can find in the field called Default when you save the custom field when the Field Type is set to Plugins. When using another field type, this field is left empty.
The name of the custom field.
This is the same value as custom_element when importing a plugin field type. In any other case this is a text shown to the shopper.
This must be one of the following values, depending on the type of custom field you are importing:
- S: String
- I: Integer
- P: Parent
- B: Boolean
- D: Date
- T: Time
- M: Image
- V: Cart variant
- E: Plugins
A description of the custom field.
Once you have created the CSV file with the necessary data it can be imported like any other import.