[Skip to main content](#vessel-content)

#   Custom field (and function) in Import

##

- **[sharq](/forum/user/6679-sharq "View sharq's Profile")**
- [![sharq's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6679-sharq "View sharq's Profile") Topic Author
- [ Offline](/forum/user/6679-sharq)

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 7 months ago [\#95196](#95196) by [sharq](/forum/user/6679-sharq "View sharq's Profile")  *[Custom field (and function) in Import](/forum/4-how-to/79438-custom-field-and-function-in-import#95196 "I have a custom field &quot;source&#95;email&quot; 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&#95;email field. It is possible somehow? Maybe in this way not, if not do you have a workaround idea?  e.g.: in DB &quot;product&#95;code&quot;, &quot;product&#95;description&quot;, &quot;product&#95;quantity&quot;, &quot;source&#95;email&quot;, ... &quot;H1839&quot;, &quot;This product is amazing....&quot;, &quot;4&quot;, ...  when I import this &quot;product&#95;code&quot;, &quot;product&#95;description&quot;, &quot;product&#95;quantity&quot;, &quot;source&#95;email&quot;, ... &quot;H1839&quot;, &quot;This is new desc but....&quot;, &quot;2&quot;, ...  would be the result &quot;product&#95;code&quot;, &quot;product&#95;description&quot;, &quot;product&#95;quantity&quot;, &quot;source&#95;email&quot;, ... &quot;H1839&quot;, &quot;This product is amazing....&quot;, &quot;4&quot;, ...  My first idea was use the product&#95;related, or product&#95;parent&#95;id fields.. but I rather ask before do anything wrong.. :)")* was created by *[sharq](/forum/user/6679-sharq "View sharq's Profile")*

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", "hergo@propeller.org", ...

when I import this
"product_code", "product_description", "product_quantity", "source_email", ...
"H1839", "This is new desc but....", "2", "somehow@whiskey.info", ...

would be the result
"product_code", "product_description", "product_quantity", "source_email", ...
"H1839", "This product is amazing....", "4", "hergo@propeller.org, somehow@whiskey.info", ...

My first idea was use the product_related, or product_parent_id fields.. but I rather ask before do anything wrong.. ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDM4LWN1c3RvbS1maWVsZC1hbmQtZnVuY3Rpb24taW4taW1wb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

13 years 7 months ago [\#95211](#95211) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field (and function) in Import](/forum/4-how-to/79438-custom-field-and-function-in-import#95211 "I have a custom field &quot;source&#95;email&quot; 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&#95;email field. It is possible somehow? Maybe in this way not, if not do you have a workaround idea?  e.g.: in DB &quot;product&#95;code&quot;, &quot;product&#95;description&quot;, &quot;product&#95;quantity&quot;, &quot;source&#95;email&quot;, ... &quot;H1839&quot;, &quot;This product is amazing....&quot;, &quot;4&quot;, ...  when I import this &quot;product&#95;code&quot;, &quot;product&#95;description&quot;, &quot;product&#95;quantity&quot;, &quot;source&#95;email&quot;, ... &quot;H1839&quot;, &quot;This is new desc but....&quot;, &quot;2&quot;, ...  would be the result &quot;product&#95;code&quot;, &quot;product&#95;description&quot;, &quot;product&#95;quantity&quot;, &quot;source&#95;email&quot;, ... &quot;H1839&quot;, &quot;This product is amazing....&quot;, &quot;4&quot;, ...  My first idea was use the product&#95;related, or product&#95;parent&#95;id fields.. but I rather ask before do anything wrong.. :)")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5NDM4LWN1c3RvbS1maWVsZC1hbmQtZnVuY3Rpb24taW4taW1wb3J0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.072 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
