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

#   Issue when importing.

##

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

Less More

- Posts: 101
- Thank you received: 4
-
-
-

1 year 10 months ago [\#364999](#364999) by [alainz](/forum/user/44013-alainz "View alainz's Profile")  *[Issue when importing.](/forum/37-import-export-csv-xls/908980-issue-when-importing#364999 "-- url of the page with the problem -- :   ayam.com  -- HikaShop version -- : 5.1.2  Hi,  We are running some test on the website.  While we are importing the file to the Hikashop, we empty the column for product categories and product related on the file.  But on the Hikashop we have field for the product categories and product related.  While importing the file, it not overwrite and empty the column for field on product categories and product related.  Can you explain about this issue?")* was created by *[alainz](/forum/user/44013-alainz "View alainz's Profile")*

-- url of the page with the problem -- : [ ayam.com](https://ayam.com)
-- HikaShop version -- : 5.1.2

Hi,

We are running some test on the website.

While we are importing the file to the Hikashop, we empty the column for product categories and product related on the file.

But on the Hikashop we have field for the product categories and product related.

While importing the file, it not overwrite and empty the column for field on product categories and product related.

Can you explain about this issue?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDg5ODAtaXNzdWUtd2hlbi1pbXBvcnRpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86324
- Thank you received: 14286
-
-

1 year 10 months ago [\#365003](#365003) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Issue when importing.](/forum/37-import-export-csv-xls/908980-issue-when-importing#365003 "-- url of the page with the problem -- :   ayam.com  -- HikaShop version -- : 5.1.2  Hi,  We are running some test on the website.  While we are importing the file to the Hikashop, we empty the column for product categories and product related on the file.  But on the Hikashop we have field for the product categories and product related.  While importing the file, it not overwrite and empty the column for field on product categories and product related.  Can you explain about this issue?")*

Hi,

Thanks for your feedback.

HikaShop doesn't allow a product to not be linked to any category.
If that was the case, then you wouldn't be able to find the products without categories on the frontend or backend.
In fact, if you try to remove all the categories of a product in the backend interface, HikaShop will link it to the main category of the shop automatically in order to avoid having the product without any category.
So, if you provide a CSV with nothing in the "categories" column, the import system will just ignore it.
So what you're talking about is meant to be this way for a good reason.

However, regarding the related products, you're indeed correct that this case is currently not supported while it would make sense to support it. In fact, it's the same for options and bundles.
So, I've looked into it and I've made a patch to support that. Download again the install package of the 5.1.2 on our website and install it on yours and you'll get the patch to support that.

The following user(s) said Thank You: [alainz](/forum/user/44013-alainz "View alainz's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy85MDg5ODAtaXNzdWUtd2hlbi1pbXBvcnRpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.090 seconds

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