1. maik85
  2. RO CSVI
  3. Friday, 04 March 2016
  4.  Subscribe via email
Hi Roland,

I try to import custom fields. It is working als long as I have no cutom params. If I add the custom params to my CSV file, it is not working. But the log still says the CFs are updated...

Regards,
Maik
Accepted Answer Pending Moderation
Hello Maik,

These are text custom fields?

I do see the custom parameter is being stored:
INSERT INTO `j33_virtuemart_product_customfields` (`virtuemart_product_id`,`virtuemart_custom_id`,`customfield_value`,`customfield_price`,`disabler`,`override`,`customfield_params`,`published`,`created_on`,`created_by`,`modified_on`,`modified_by`,`locked_on`,`locked_by`,`ordering`) VALUES  ('210315','31','','','0','0','waschtemperatur=\"\"|partnerlook=\"0\"|wasserdicht=\"0\"|wasserabweisend=\"0\"|thermofunktion=\"0\"|feuchtigkeitstransport=\"0\"|windabweisend=\"0\"|bugelleicht=\"0\"|elastisch=\"0\"|anti_pilling=\"0\"|anti_geruch=\"0\"|uv_blocker=\"0\"|fleckenschutz=\"0\"|','1','2016-03-04 16:27:32','2455','2016-03-04 16:27:32','2455','0000-00-00 00:00:00','0','0')


What do you see for the custom field with the product?
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
Hello Roland,

No this are my own Plugin CFs.

As long as I've the params in my file, the import does not working. The CF is not shown in the product. After that I tried to import it without params, that works and the CF is shown in the product. I imported it again with params ... it is not working, the params are not applied or updated.
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Maik,

No this are my own Plugin CFs.
If they are your own custom fields, you will know where the params need to be stored and how they should be stored. CSVI only knows the basics but not plugin specifics, that is why for certain custom fields we ship special support like custom fields for all.

As you can see above the details of the custom_param field are stored in the customfield_params field of VirtueMart.

Does your plugin use something special?
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
No, the params stored in the default location. If I make a product export, the params are correct exported to custom_param. So the import should also working.
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Maik,

I imported it again with params ... it is not working, the params are not applied or updated.
I can see from the debug log that the params are stored in the database. What is wrong with the way the parameters are stored? Your code can't read them?
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. # 5
  • Page :
  • 1


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