Custom field (and function) in Import

  • Posts: 20
  • Thank you received: 0
11 years 9 months ago #95196

I have a custom field "source_email" which store the seller(s) contact email(s).

What I would like to do is when I import (an already existing) product and this field is given, but differs from the existing one, then append it. So dont update any informations except add a new value to the source_email field. It is possible somehow? Maybe in this way not, if not do you have a workaround idea?

e.g.: in DB
"product_code", "product_description", "product_quantity", "source_email", ...
"H1839", "This product is amazing....", "4", "This email address is being protected from spambots. You need JavaScript enabled to view it.", ...

when I import this
"product_code", "product_description", "product_quantity", "source_email", ...
"H1839", "This is new desc but....", "2", "This email address is being protected from spambots. You need JavaScript enabled to view it.", ...

would be the result
"product_code", "product_description", "product_quantity", "source_email", ...
"H1839", "This product is amazing....", "4", "This email address is being protected from spambots. You need JavaScript enabled to view it., This email address is being protected from spambots. You need JavaScript enabled to view it.", ...

My first idea was use the product_related, or product_parent_id fields.. but I rather ask before do anything wrong.. :)

Please Log in or Create an account to join the conversation.

  • Posts: 83050
  • Thank you received: 13410
  • MODERATOR
11 years 9 months ago #95211

The import system replaces the product information. It is not made to add information to already existing product information. You will have the same issue with the related column or other columns.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum