Joomla version, 3.6.2
VirtueMart 3.0.10
CSVI Pro 6.6.4
Hi,
When I have multiple values for custom fields I have been importing like so:
custom_title;custom_param;custom_value;custom_ordering
Branch~Branch~Branch~Branch;;2~3~4~5;1~2~3~4
This works fine for me, but not for clients who need to upload files to run as cron jobs.
My other custom fields are populated as individual columns in the csv file. I have tried simply repeating the field in the template/csv file like below:
Branch;Branch;Branch;Branch
2;;4;5
;3;;5
2;3;4;5
But only the first field is added.
Is there any configuration that would allow me to do this?
Also I should add that I don't want to combine the data in these fields as they are individual entities used by the Custom filter component.
Thanks,
Joely
- joely666
- RO CSVI
- Tuesday, 18 October 2016
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello Joely,
You can have individual columns only if the custom field is available as a available field in CSVI. Not sure if Branch is an example field, if you want to have multiple values for a custom field you either need to use it with multiple separator ~ and with custom_multiple field or you can set custom field value as each row instead of column. You can have a look at product import with custom fields documentation. If you need any more help send us your sample import file to check along with your debug log.
This import wont combine the data in the fields, it is just an order we follow in CSVI so the import file and process looks compact and friendly. Once the import is done without any issue, the values will be same as what VirtueMart saves when you do so on backend.
This works fine for me, but not for clients who need to upload files to run as cron jobs.
My other custom fields are populated as individual columns in the csv file. I have tried simply repeating the field in the template/csv file like below:
Branch;Branch;Branch;Branch
2;;4;5
;3;;5
2;3;4;5
But only the first field is added.
Is there any configuration that would allow me to do this?
You can have individual columns only if the custom field is available as a available field in CSVI. Not sure if Branch is an example field, if you want to have multiple values for a custom field you either need to use it with multiple separator ~ and with custom_multiple field or you can set custom field value as each row instead of column. You can have a look at product import with custom fields documentation. If you need any more help send us your sample import file to check along with your debug log.
Also I should add that I don't want to combine the data in these fields as they are individual entities used by the Custom filter component.
This import wont combine the data in the fields, it is just an order we follow in CSVI so the import file and process looks compact and friendly. Once the import is done without any issue, the values will be same as what VirtueMart saves when you do so on backend.
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 for your reply. In my example 'Branch' is a custom field available to add to my import template. The problem is I want 4 instances of this. I can add 4 instances to the import template, which maps correctly to my csv file, but only the first column is added to the product. So my question is if there is a configuration for the import template which will allow for four instances of the same custom field to be added in this way, rather than by using custom_title and custom_value with tilde separated data.
Thanks
Thanks
Accepted Answer
Pending Moderation
Hello,
Thats correct. CSVI can read only the first instance of custom field. For multiple values you need to have them combined with ~ character and with custom_title and custom_value fields.
There is no configuration to import multiple instance of a custom field without using custom_title and custom_value fields.
In my example 'Branch' is a custom field available to add to my import template. The problem is I want 4 instances of this. I can add 4 instances to the import template, which maps correctly to my csv file, but only the first column is added to the product.
Thats correct. CSVI can read only the first instance of custom field. For multiple values you need to have them combined with ~ character and with custom_title and custom_value fields.
So my question is if there is a configuration for the import template which will allow for four instances of the same custom field to be added in this way, rather than by using custom_title and custom_value with tilde separated data.
There is no configuration to import multiple instance of a custom field without using custom_title and custom_value fields.
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 »