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

#   Importing into categories

##

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

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

15 years 5 months ago [\#19090](#19090) by [Jims](/forum/user/2963-jims "View Jims's Profile")  *[Importing into categories](/forum/4-how-to/19090-importing-into-categories#19090 "I am trying to import a few hundred items into the catalog using a csv file. The first few lines of the file are:  product&#95;code,product&#95;description,price&#95;value,parent&#95;category,product&#95;type,product&#95;width,images,options,categories ASU-W-60601,salad bowl (SHALLOW),8.95,Simplicity - Surf,Dinnerware,14 cm/5.5 in,,White,2 ASU-W-60602,salad bowl ,11.95,Simplicity - Surf,Dinnerware,17 cm/6.7 in,,White,2 ASU-W-60603,salad bowl ,13.95,Simplicity - Surf,Dinnerware,20 cm/7.9 in,,White,2  But the products do not get imported into their parent categories. They are all imported into the default Product Category. The import does create the 4 product categories, but none of them contain any products.  Please could you let me know what I am doing wrong.  Thanks  Jim")* was created by *[Jims](/forum/user/2963-jims "View Jims's Profile")*

I am trying to import a few hundred items into the catalog using a csv file. The first few lines of the file are:

product_code,product_description,price_value,parent_category,product_type,product_width,images,options,categories
ASU-W-60601,salad bowl (SHALLOW),8.95,Simplicity - Surf,Dinnerware,14 cm/5.5 in,,White,2
ASU-W-60602,salad bowl ,11.95,Simplicity - Surf,Dinnerware,17 cm/6.7 in,,White,2
ASU-W-60603,salad bowl ,13.95,Simplicity - Surf,Dinnerware,20 cm/7.9 in,,White,2

But the products do not get imported into their parent categories. They are all imported into the default Product Category.
The import does create the 4 product categories, but none of them contain any products.

Please could you let me know what I am doing wrong.

Thanks

Jim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5MDkwLWltcG9ydGluZy1pbnRvLWNhdGVnb3JpZXM/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

15 years 5 months ago [\#19107](#19107) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Importing into categories](/forum/4-how-to/19090-importing-into-categories#19107 "I am trying to import a few hundred items into the catalog using a csv file. The first few lines of the file are:  product&#95;code,product&#95;description,price&#95;value,parent&#95;category,product&#95;type,product&#95;width,images,options,categories ASU-W-60601,salad bowl (SHALLOW),8.95,Simplicity - Surf,Dinnerware,14 cm/5.5 in,,White,2 ASU-W-60602,salad bowl ,11.95,Simplicity - Surf,Dinnerware,17 cm/6.7 in,,White,2 ASU-W-60603,salad bowl ,13.95,Simplicity - Surf,Dinnerware,20 cm/7.9 in,,White,2  But the products do not get imported into their parent categories. They are all imported into the default Product Category. The import does create the 4 product categories, but none of them contain any products.  Please could you let me know what I am doing wrong.  Thanks  Jim")*

The column product_type can only contain "main" or "variant". You should not set it yourself. The product_width column cannot contain several widths. You can put the width in cm or in inches but not both in the same. Plus, you should use the product_dimension_unit to set the unit you want to use and not have it directly in that field. The column options should contain the product_code of another product (maybe that's the case?). The categories column is where you should put the category of the product. The product_category column enables you to set the parent category of that category. IF you don't have several levels of categories, you should not need it.

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

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

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

15 years 4 months ago [\#19140](#19140) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: Importing into categories](/forum/4-how-to/19090-importing-into-categories#19140 "I am trying to import a few hundred items into the catalog using a csv file. The first few lines of the file are:  product&#95;code,product&#95;description,price&#95;value,parent&#95;category,product&#95;type,product&#95;width,images,options,categories ASU-W-60601,salad bowl (SHALLOW),8.95,Simplicity - Surf,Dinnerware,14 cm/5.5 in,,White,2 ASU-W-60602,salad bowl ,11.95,Simplicity - Surf,Dinnerware,17 cm/6.7 in,,White,2 ASU-W-60603,salad bowl ,13.95,Simplicity - Surf,Dinnerware,20 cm/7.9 in,,White,2  But the products do not get imported into their parent categories. They are all imported into the default Product Category. The import does create the 4 product categories, but none of them contain any products.  Please could you let me know what I am doing wrong.  Thanks  Jim")*

**nicolas wrote:**

> The column product\_type can only contain "main" or "variant". You should not set it yourself. The product\_width column cannot contain several widths. You can put the width in cm or in inches but not both in the same. Plus, you should use the product\_dimension\_unit to set the unit you want to use and not have it directly in that field. The column options should contain the product\_code of another product (maybe that's the case?). The categories column is where you should put the category of the product. The product\_category column enables you to set the parent category of that category. IF you don't have several levels of categories, you should not need it.

Many thanks, Nicolas. I can see I have much learning ahead of me. But This is very helpful. I was going to use the options field for colour, because I could not find colour as an allowable field.

jim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE5MDkwLWltcG9ydGluZy1pbnRvLWNhdGVnb3JpZXM/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#19142](#19142) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Importing into categories](/forum/4-how-to/19090-importing-into-categories#19142 "I am trying to import a few hundred items into the catalog using a csv file. The first few lines of the file are:  product&#95;code,product&#95;description,price&#95;value,parent&#95;category,product&#95;type,product&#95;width,images,options,categories ASU-W-60601,salad bowl (SHALLOW),8.95,Simplicity - Surf,Dinnerware,14 cm/5.5 in,,White,2 ASU-W-60602,salad bowl ,11.95,Simplicity - Surf,Dinnerware,17 cm/6.7 in,,White,2 ASU-W-60603,salad bowl ,13.95,Simplicity - Surf,Dinnerware,20 cm/7.9 in,,White,2  But the products do not get imported into their parent categories. They are all imported into the default Product Category. The import does create the 4 product categories, but none of them contain any products.  Please could you let me know what I am doing wrong.  Thanks  Jim")*

You need to create a new characteristic called colour with the different possibilities as values via the menu Products-&gt;Characteristics.
Then, you will have the characteristic available as a new column of your CSVs.

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

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

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

15 years 4 months ago [\#19150](#19150) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: Importing into categories](/forum/4-how-to/19090-importing-into-categories#19150 "I am trying to import a few hundred items into the catalog using a csv file. The first few lines of the file are:  product&#95;code,product&#95;description,price&#95;value,parent&#95;category,product&#95;type,product&#95;width,images,options,categories ASU-W-60601,salad bowl (SHALLOW),8.95,Simplicity - Surf,Dinnerware,14 cm/5.5 in,,White,2 ASU-W-60602,salad bowl ,11.95,Simplicity - Surf,Dinnerware,17 cm/6.7 in,,White,2 ASU-W-60603,salad bowl ,13.95,Simplicity - Surf,Dinnerware,20 cm/7.9 in,,White,2  But the products do not get imported into their parent categories. They are all imported into the default Product Category. The import does create the 4 product categories, but none of them contain any products.  Please could you let me know what I am doing wrong.  Thanks  Jim")*

Many thanks, Nicolas.

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

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