Hello,
I want to import a custom field of multiple values for products, in the same CSV with the product.
The custom field is of type string, with "is a list" enabled.
Virtuemart documentation describes that the way to enter the multiple list values, is by separating them with semicolons.
e.g.: "1998;1999;2000;2001"
This is the way I attempted to do it in the CSV. The field, however, fails to be populated correctly in VM.
Any thoughts?
Thanks
- konstantinos29
- RO CSVI
- Thursday, 27 June 2019
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello,
Take a look at Product import with custom fields document and under "CUSTOM FIELDS WITH MULTIPLE VALUES" section to know to import String custom field with multiple values.
Take a look at Product import with custom fields document and under "CUSTOM FIELDS WITH MULTIPLE VALUES" section to know to import String custom field with multiple values.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Thanks,
If I have multiple custom fields, each having multiple values, I need to import them all in one line?
e.g.
custom_title: "field 1~field 1~field 1~field 2~field 2"
custom_value: "value 1~value 2~value 3~value 4~value 5"
No way to do it separately for each field?
If I have multiple custom fields, each having multiple values, I need to import them all in one line?
e.g.
custom_title: "field 1~field 1~field 1~field 2~field 2"
custom_value: "value 1~value 2~value 3~value 4~value 5"
No way to do it separately for each field?
Accepted Answer
Pending Moderation
Also look,
The field values are separated during import in VM and in the frontend (they appear in normal order in the csv).
CSV:
Χρονολογίες~Χρονολογίες~Χρονολογίες~Χρονολογίες~Τεμάχια~Τεμάχια,"1999~2000~2001~2002~1 τμχ~2 τμχ"
Actual results (see screenshots)
The field values are separated during import in VM and in the frontend (they appear in normal order in the csv).
CSV:
Χρονολογίες~Χρονολογίες~Χρονολογίες~Χρονολογίες~Τεμάχια~Τεμάχια,"1999~2000~2001~2002~1 τμχ~2 τμχ"
Actual results (see screenshots)
Attachments (2)
Accepted Answer
Pending Moderation
Hello,
Yes for multiple values you need to use custom_title and custom_value fields. You can use your string custom field as an individual field if it has a single value. That is explained in "BASIC IMPORT WITH CUSTOM FIELDS" section of above linked document.
Yes for multiple values you need to use custom_title and custom_value fields. You can use your string custom field as an individual field if it has a single value. That is explained in "BASIC IMPORT WITH CUSTOM FIELDS" section of above linked document.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Your field Χρονολογίες is a string custom field? When i create a String custom field with Is a list option set to Yes, i don't see any option to save it as you mentioned "1998;1999;2000;2001". Can you send me a screenshot of how you have this custom field? Also the VirtueMart document link which explains about its values.
Also look,
The field values are separated during import in VM and in the frontend (they appear in normal order in the csv).
CSV:
Χρονολογίες~Χρονολογίες~Χρονολογίες~Χρονολογίες~Τεμάχια~Τεμάχια,"1999~2000~2001~2002~1 τμχ~2 τμχ"
Your field Χρονολογίες is a string custom field? When i create a String custom field with Is a list option set to Yes, i don't see any option to save it as you mentioned "1998;1999;2000;2001". Can you send me a screenshot of how you have this custom field? Also the VirtueMart document link which explains about its values.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »