WordPress.org

Ready to get started?Download WordPress

Forums

How to build categories and subcategories csv or cat.txt. (2 posts)

  1. plasido
    Member
    Posted 3 years ago #

    Hi there,
    I want to export many categories and subcategories into database.
    Any example how to creat csv file?
    Category : Europe subcategory : UK,France,...
    I tried this works for category by using exel.
    SKU category
    Europe
    Africa
    Asia
    So how for sub category?
    Thanks

  2. jokerbr313
    Member
    Posted 3 years ago #

    I believe what you are looking for is at
    http://wordpress.org/extend/plugins/category-import/

    ...and to create the list. I used a Find & Replace method with notepad
    Find---------------------Replace with
    (category type 1) = square
    (category type 2) = cirle
    (category type a) = red
    (category type b) = blue

    (category type 1)/(category type a)/type-1
    (category type 1)/(category type a)/type-2
    (category type 1)/(category type a)/type-3
    (category type 1)/(category type b)/type-1
    (category type 1)/(category type b)/type-2
    (category type 1)/(category type b)/type-3
    (category type 2)/(category type a)/type-1
    (category type 2)/(category type a)/type-2
    (category type 2)/(category type a)/type-3
    (category type 2)/(category type b)/type-1
    (category type 2)/(category type b)/type-2
    (category type 2)/(category type b)/type-3

    Hope this helps

Topic Closed

This topic has been closed to new replies.

About this Topic