Copy of Categories

  • Posts: 51
  • Thank you received: 4
11 years 2 months ago #125149

Hi,

searched but did not find this. Is there a way to copy categories (like products has ability)? I have to create 100 categories with several subcategories and would like to simply copy them!

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #125177

Hi,

Actually, the easiest way is to use the csv method.
Export you categories (you can do that thanks to product export or thanks to the mass actions) and then edit the csv file to copy / paste the categories and import the file.
Here is some documentation about csv file:
www.hikashop.com/support/documentation/7...shop-import.html#csv

Please Log in or Create an account to join the conversation.

  • Posts: 51
  • Thank you received: 4
11 years 2 months ago #125312

trying to work with exporter... It appears I am getting only two columns in the excel file (tried CSV, same also). See the excel file I have attached.

I have attached a screenshot of the categories created that I am trying to repeat....


It does not make sense to me that the categories are 4 deep yet the excel spreadsheet has it two deep only and throws categories underneath everything....

Attachments:
Last edit: 11 years 2 months ago by bluewave.

Please Log in or Create an account to join the conversation.

  • Posts: 51
  • Thank you received: 4
11 years 2 months ago #125313

trying to attach excel file here

Attachments:
Last edit: 11 years 2 months ago by bluewave.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #125346

Hi,

It's normal, the export is correct.
Ex of a category tree:

Main
- Category A
-- Category A-1
--- Category A-1-a
- Category B
-- Category B-1

In the file it will look like:

parent_category, categories
,Main
Main, Category A
Main, Category B
Category A, Category A-1
Category B, Category B-1
Category A-1, Category A-1-a

Via this two columns, we can have unlimited number of subcategories.
We only attach the sub to the main, the sub of the sub to the sub, etc..

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum