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

#   Mass actions do not import non product\_id matched

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 9 months ago [\#229646](#229646) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Mass actions do not import non product\_id matched](/forum/32-content-creation/882071-mass-actions-do-not-import-non-product-id-matched?start=20#229646 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  I am opening a new thread for this problem as my older threads are contaminated with too much parallel evolution.  ––––––––––––––––––––––––––––––––––––––––––––––––––––– The topic started in this thread that now I consider obsolete   www.hikashop.com/forum/product-category-...aving-a-product.html  –––––––––––––––––––––––––––––––––––––––––––––––––––––  After making testing on tricking on the CSV file exported through mass action I found:  1. Products do contain the &quot;product&#95;type&quot; info as 'main'. 2. Products with a &quot;product&#95;id&quot; that are matching some product in the target site will update. 3. Products with a new &quot;product&#95;id&quot; which is not already created in the target site are ignored.  4. Tricking the CSV file and giving the new products a different &quot;product&#95;id&quot; that matches some other product in the target site WILL WORK as an updated product.  So it seems like the CSV Import Mass Action is lacking some logic that lets new products to be added to the database.  I hope this would make your team easier to find out a fix for this.  I can not firmly say this is a standard HikaShop bug as I just tested in my testing sites, both updated to newsest HikaShop Business 2.6.1 &#91;1602031626&#93;  I will be available for any further test if HikaShop team requires me as I really need this to be fixed ASAP.  Best regards.")*

Good Xavier,

mass actions is a great tool with a lot of possibilities that would satisfy a great number of your customers and for sure help many to migrate from other platforms to HikaShop.

Creating some clear extensive documentation so others could develop with ease their own complementary actions as we do with plugins would be really great. I'm pretty sure for my coming developments mass actions will play an important role as there is a huge number of old outdated websites out there that sometimes persist in surviving because of the hard work and uncertainties related to create interactions with other corporate softwares. Mass actions can play a great role in this.

To make it simple: this development of mass actions you did these late days will help me bring several websites linked to the one I am developing now migrate to the joomla / hikashop platform.

One more time thanks for your valuable help and commitment to fix the problems.

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

10 years 9 months ago [\#229649](#229649) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Mass actions do not import non product\_id matched](/forum/32-content-creation/882071-mass-actions-do-not-import-non-product-id-matched?start=20#229649 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  I am opening a new thread for this problem as my older threads are contaminated with too much parallel evolution.  ––––––––––––––––––––––––––––––––––––––––––––––––––––– The topic started in this thread that now I consider obsolete   www.hikashop.com/forum/product-category-...aving-a-product.html  –––––––––––––––––––––––––––––––––––––––––––––––––––––  After making testing on tricking on the CSV file exported through mass action I found:  1. Products do contain the &quot;product&#95;type&quot; info as 'main'. 2. Products with a &quot;product&#95;id&quot; that are matching some product in the target site will update. 3. Products with a new &quot;product&#95;id&quot; which is not already created in the target site are ignored.  4. Tricking the CSV file and giving the new products a different &quot;product&#95;id&quot; that matches some other product in the target site WILL WORK as an updated product.  So it seems like the CSV Import Mass Action is lacking some logic that lets new products to be added to the database.  I hope this would make your team easier to find out a fix for this.  I can not firmly say this is a standard HikaShop bug as I just tested in my testing sites, both updated to newsest HikaShop Business 2.6.1 &#91;1602031626&#93;  I will be available for any further test if HikaShop team requires me as I really need this to be fixed ASAP.  Best regards.")*

OH! And one more think!

I understand is not a priority. But just if you could fix that the images array gets cleaned and updated on import as actually the Files is already doing... this would be really useful.

Or at least could you point me to what file and procedure / function is doing this part? I would ask one of my developers to put an eye, I am pretty sure is just a small thing to fix as I know you already develoeped the code and indeed it already works for the files.

Thank you ![:cheer:](/media/kunena/emoticons/2.png ":cheer:") ![:cheer:](/media/kunena/emoticons/2.png ":cheer:") ![:cheer:](/media/kunena/emoticons/2.png ":cheer:")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 9 months ago -  10 years 9 months ago [\#229658](#229658) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Mass actions do not import non product\_id matched](/forum/32-content-creation/882071-mass-actions-do-not-import-non-product-id-matched?start=20#229658 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8  I am opening a new thread for this problem as my older threads are contaminated with too much parallel evolution.  ––––––––––––––––––––––––––––––––––––––––––––––––––––– The topic started in this thread that now I consider obsolete   www.hikashop.com/forum/product-category-...aving-a-product.html  –––––––––––––––––––––––––––––––––––––––––––––––––––––  After making testing on tricking on the CSV file exported through mass action I found:  1. Products do contain the &quot;product&#95;type&quot; info as 'main'. 2. Products with a &quot;product&#95;id&quot; that are matching some product in the target site will update. 3. Products with a new &quot;product&#95;id&quot; which is not already created in the target site are ignored.  4. Tricking the CSV file and giving the new products a different &quot;product&#95;id&quot; that matches some other product in the target site WILL WORK as an updated product.  So it seems like the CSV Import Mass Action is lacking some logic that lets new products to be added to the database.  I hope this would make your team easier to find out a fix for this.  I can not firmly say this is a standard HikaShop bug as I just tested in my testing sites, both updated to newsest HikaShop Business 2.6.1 &#91;1602031626&#93;  I will be available for any further test if HikaShop team requires me as I really need this to be fixed ASAP.  Best regards.")*

Hi,

There was just a column name issue for the MySQL request, please try with this version of the massaction class:

*This attachment is hidden for guests.
Please log in or register to see it.*

Last edit: 10 years 9 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgyMDcxLW1hc3MtYWN0aW9ucy1kby1ub3QtaW1wb3J0LW5vbi1wcm9kdWN0LWlkLW1hdGNoZWQ/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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.047 seconds

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