WordPress.org

Ready to get started?Download WordPress

Forums

Woocommerce CSV importer
[resolved] How to add product to subcategory? (12 posts)

  1. grpeterpanos
    Member
    Posted 1 year ago #

    Hi I import all of my products smoothly.
    The only problem I have is that i cannot put subcategories.
    For example i need a product in cat1 -> subcat1:
    In csv file i put cat1>subcat1 but the result is to get a top category named "cat1>subcat1".
    How to fix it?

    http://wordpress.org/extend/plugins/woocommerce-csvimport/

  2. allaerd
    Member
    Plugin Author

    Posted 1 year ago #

    ill have to think of this.....i think something like

    cat1{subcat1,subcat2}|cat2{subcat3,subcat4}|cat3{subct5,subcat6}

    would this work for you?

  3. grpeterpanos
    Member
    Posted 1 year ago #

    Nope it doesnt work.
    also you can not use comma.
    anybody solved this?

  4. allaerd
    Member
    Plugin Author

    Posted 1 year ago #

    i know it does not work :D

    i have to make it. The example provided was an example of how it could work. The question is will this work for you?

  5. grpeterpanos
    Member
    Posted 1 year ago #

    it would be preferable if you could fix it like:

    cat1->subcat1->subsubcat1|cat2

  6. allaerd
    Member
    Plugin Author

    Posted 1 year ago #

    hello

    you're issue is resolved. Check out version 0.5. It has an option in the settings page to set the seperator!

    Let me know if it works!

  7. grpeterpanos
    Member
    Posted 1 year ago #

    Thanks for your quick reply, and your effort.
    I tried it but using "->" is creating main categoris and not subcategories. for example. i put a product at games->children->under6 and i get the product in all 3 categories as main categories.

  8. grpeterpanos
    Member
    Posted 1 year ago #

    and i forgot to tell you, after i upload the file, i also got an error:
    Fatal error: Cannot use object of type WP_Error as array in /wp-content/plugins/woocommerce-csvimport/include/woocommerce-csvimport-functions.php on line 152

  9. allaerd
    Member
    Plugin Author

    Posted 1 year ago #

    he, i fixed the bug when updating.

    i am looking into the other thing. Somehow the cats are there. Try to open the parent cat and save it. Than you will see the rest.

    I try to fix this tomorrow!

  10. allaerd
    Member
    Plugin Author

    Posted 1 year ago #

    he there,

    I solved the bug. Check out version 0.5.2. The bug is described here

  11. grpeterpanos
    Member
    Posted 1 year ago #

    Works great! cheers!
    One more thing you could implement is the upload and auto split file of big csv files. for example i have a csv with around 4000 products. now i am forced to split it into smaller files.

    Thanks again! Great Job!

  12. anaconda225
    Member
    Posted 1 year ago #

    I don't understand how you make sub categories. Can you be a bit more precise please.

    I want to do something like this directly from the csv file.
    Beads
    --Glass Beads
    ----Bead Mixes
    ----Lampwork Beads
    ----Venetian Beads
    --Metal Beads
    Findings
    --Wire
    --Crimps
    Beading Tools

    Excellent plugin! Just need to get a couple of these minor details figured out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic