1. sandstorm871
  2. RO CSVI
  3. Friday, 26 June 2015
  4.  Subscribe via email
Hi Roland,

I'm just trying to get a better understanding of importing some Custom fields in Virtuemart.
These are fairly basic Custom fields for a bottle of wine - i.e. colour, ABV, Grape Type, Region, etc

I already have my custom fields set up in virtuemart so am just trying to import them with my product import.
I have run CSVI to check for available fields and seen that it picks up my new available fields so I have set up an import like this;

product_sku,product_name, ... ther VM related fields ... , Grape Type, ABV, Colour, Region
Using this import with separate custom fields, seems to load up OK.


But I am trying to streamline the process a little bit, so that I can add the custom field data later, as will have quite a few custom fields for the products because we will use Custom Filters Search Module from Break Designs.


So instead of product_sku,Grape Type, ABV, CF3, CF4, CF5, CF6, etc I was hoping that I could just use something like this (which I only noticed after exporting some data);

product_sku, custom_title, custom_value with something like the following;
"A123", "Grape Type ~ ABV ~ CF3 ~ CF4 ~ CF5", "Pinto Grigio~11.5%~ France ~ Bordeaux~Cork"

But when I try the latter I get an error as per screenshot.

Any ideas or help would be greatly appreciated.
Accepted Answer Pending Moderation
Hey Andy,

You can use the way you are asking with the custom_title etc. fields. The debug log is empty but which VM version and CSVI version are you using? The custom_value field should be no longer present as the field has been renamed to customfield_value.

Are these fields Grape Type, ABV etc. fields of the type Custom Filters plugin? If that is the case, you will need a different CSV setup. See the tutorial for Custom fields for All on how to setup the CSV file.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
VM 3.0.8
CSVi 6 RC1

The Custom fields are standard Virtuemart String,

I have used the find all available fields in CSVi & in VM Product Import template fields I do not see customfield_value - see screenshot.

customfield_value also isn't available, from the VM > Custom Field template
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hey Andy,

You won't find the customfield_value in the list of available fields as CSVI translates this internally. I just noticed that in the image you posted, there are both fields listed. The customfield_value and custom_value field, so that is definitely not going to work.

Now the debug log you attached earlier is empty. Can you try the attached patch file and if the problem still exist, post the debug log again. Please check if the log is included.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
That patch file seems to have solved this issue - Thanks ;)
  1. more than a month ago
  2. RO CSVI
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!