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

#   CSV import 3 level deep categories

##

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile") Topic Author
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

10 years 2 months ago -  10 years 2 months ago [\#251227](#251227) by [river](/forum/user/9591-river "View river's Profile")  *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#251227 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")* was created by *[river](/forum/user/9591-river "View river's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 7

I have a CSV file with products that looks like this:
Code:

product_code Categories (structure) Product_name Fxxxxxxx Helse Skjønnhet &gt; Relax &amp; Komfor &gt; Massasje Apparater &#124;Sprinkel Hodebunn Hxxxxxxx Uvanlige Gaver &gt; Spill &amp; Leker &gt; Drikke Spill &#124;Drikkeleken Spinn Pilen Hxxxxxxx Uvanlige Gaver &gt; Sex Produkter &#124;Kamasutra Shot Glass (6 pakning) Hxxxxxxx Uvanlige Gaver &gt; Spill &amp; Leker &gt; Drikke Spill &#124;Ludo Drikkespill med Shots

When I import the CSV file to hikashop I want to use the category structure as you see above in the file:

3 level deep categories.

I know that I can import 2 level deep categories.

It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?

I know the first column category should me named "parent_category" and the second "categories", what should the 3 level category column be called ?

tnx

Last edit: 10 years 2 months ago by [river](/forum/user/9591-river "View river's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODY2OTAtY3N2LWltcG9ydC0zLWxldmVsLWRlZXAtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 2 months ago [\#251262](#251262) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#251262 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")*

Hi,

The import system doesn't have limit on the levels of categories you can import.
For example you could have that CSV: Code:

product_code;parent_category;categories;product_name ;Helse Skjønnhet;Relax &amp; Komfor; ;Relax &amp; Komfor;Massasje Apparater; ;Uvanlige Gaver;Spill &amp; Leker,Sex Produkter; ;Spill &amp; Leker;Drikke Spill; Fxxxxxxx;;Massasje Apparater;Sprinkel Hodebunn Hxxxxxxx;;Drikke Spill;Drikkeleken Spinn Pilen Hxxxxxxx;;Sex Produkter;Kamasutra Shot Glass (6 pakning) Hxxxxxxx;;Drikke Spill;Ludo Drikkespill med Shots

As you can see here, the first few lines allow you to configure the structure of the categories.
The next lines allow you to specify the product data and in which leaf category should the products be.

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

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile") Topic Author
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

10 years 2 months ago [\#251282](#251282) by [river](/forum/user/9591-river "View river's Profile")  Replied by *[river](/forum/user/9591-river "View river's Profile")* on topic *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#251282 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")*

OK this sounds good.

Im trying to make standard form in excel (CSV) which I can use for all import.

Please look at my image below, is this the correct way to write the product categories in the CSV file ?

[ ![screen&#95;csv&#95;hika.png](/forum/attachment/33736) ](/forum/attachment/33736 "...n&#95;csv&#95;hika.png")

I want to categories in the Root;product category folder (standard hikashop structure)

- [ ![screen&#95;csv&#95;hika.png](/forum/attachment/33736) ](/forum/attachment/33736 "...n&#95;csv&#95;hika.png") [ ](/forum/attachment/33736?download=1 "...n&#95;csv&#95;hika.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODY2OTAtY3N2LWltcG9ydC0zLWxldmVsLWRlZXAtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 2 months ago [\#251284](#251284) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#251284 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")*

No, that's not correct.
Please use the lines I gave you as CSV.
Write them in a text file, rename it with the csv extension and open it with excel and you'll see how it should look like.
You can also create some categories in your backend and export the products and you'll get the categories lineslike I gave you at the top of the csv.

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

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile") Topic Author
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

10 years 2 months ago [\#251485](#251485) by [river](/forum/user/9591-river "View river's Profile")  Replied by *[river](/forum/user/9591-river "View river's Profile")* on topic *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#251485 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")*

Tnx it works.

Now I only have one small case related to import of products using a CSV file.

I have a custom field in table/product, field type checkbox. It has only one value.

Deiverytime: 6-9 days.

I have placed the label "deliverytime" in the CSV, with value 1 in the rows beneath.

But I can't get it to auto select the value: 6-9 days.

I have to manually do this on each product after import. And that's to much work.

Any adivce ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODY2OTAtY3N2LWltcG9ydC0zLWxldmVsLWRlZXAtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 1 month ago [\#251516](#251516) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#251516 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")*

Hi,

If the value is "6-9 days" in your custom field, then you need to use that value in the CSV if you want HikaShop to be able to match it.

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

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile") Topic Author
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

10 years 1 month ago [\#254007](#254007) by [river](/forum/user/9591-river "View river's Profile")  Replied by *[river](/forum/user/9591-river "View river's Profile")* on topic *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#254007 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")*

So back to categories.....

OK, so this is my category path for "product A" (it's 4 levels deep)

product category/Women/Women&#96;s Lingereie/Bra/Push Up Bras

I want "product A" only to be placed in the last category "Push Up Bras"

And at the same same time "during CSV import" create the category path as above.
I need the category path to be like above with: "Women" as first category level and "Women&#96;s Lingereie" as second level category etc.

Any advice on how to write it in the CSV file ?

Or do I have to create the category order in advance before I import.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ltcG9ydC1leHBvcnQtY3N2LXhscy84ODY2OTAtY3N2LWltcG9ydC0zLWxldmVsLWRlZXAtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

10 years 1 month ago [\#254015](#254015) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CSV import 3 level deep categories](/forum/37-import-export-csv-xls/886690-csv-import-3-level-deep-categories#254015 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 7  I have a CSV file with products that looks like this:  When I import the CSV file to hikashop I want to use the category structure as you see above in the file:  3 level deep categories.  I know that I can import 2 level deep categories.  It it possible to import and make hikashop auto create 3 level deep categories ? and if so, what should I change the category columns to in the CSV file ?  I know the first column category should me named &quot;parent&#95;category&quot; and the second &quot;categories&quot;, what should the 3 level category column be called ?  tnx")*

I've already given an example in a previous message:
[ www.hikashop.com/forum/import-export-csv...tegories.html#251262](https://www.hikashop.com/forum/import-export-csv-xls/886690-csv-import-3-level-deep-categories.html#251262)
It's the same... Code:

product_code;parent_category;categories;product_name ;Women;Women&#96;s Lingereie; ;Women&#96;s Lingereie;Bra; ;Bra;Push Up Bras; product A;;Push Up Bras;product A

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

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