1. DarkoF
  2. RO CSVI
  3. Friday, 31 March 2023
  4.  Subscribe via email
Hi I import 2 product parent and children.

All working, but for children I want change only custom fields with the name LETNIK_VM (year) from 2023 to 2020.

Children add to 2020 but also use parent value of 2023 so I end with two custom fields on children, I want just one preferably should owe-ride parent with updated value.

I attach csv
Thank you.
Attachments (1)
Accepted Answer
Accepted Answer Pending Moderation
Hello,
I was thinking that custom_title and custom_value children product inherent from parent isn't that so?

You need to define them for child products too and set custom_override or custom_disabler if the values should be inherited from parent or not.

The reason why I don't use custom_title and custom_value for all custum fields is because I will not fulfil myself CSV but my coworkers, and I need to make file as simple for them as I could.
So i use only custom_title and custom_value for fields which they don't change, but for all other custom fields I use separate column.

The reason we recommend to use custom_title and custom_value field is that multiple custom_override and custom_disabler values can be set for custom fields. If you have custom fields as individual columns then there is no way to set override or disabler values.

All custom fields in file which i attached are CUSTOMFIELD_VM constant headers (look for _VM ) as is column with LETNIK_VM header which I need update for children product.

Having custom fields as individual columns and having value Y for all custom fields in one column as custom_override is not going to work. custom_override will only work with custom_title and custom_value fields. Please check Product import with custom fields document for details.
Kind regards,

Tharuna

=========================
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. # Permalink
Sorry, the discussion is currently locked. You will not be able to post a reply or a comment at the moment.