Skip to content

Add ability to import categories #1

@joshribakoff

Description

@joshribakoff

In the products spreadsheet, just have a categories column. If they put a numeric value it assumes its the category ID, if they put alphanumeric text it assumes its the name of an existing category, or category to create. Categories separated by comma and optional white space after the comma. A slash indicates hierarchy e.g. "clothing/shirts" instructs it to create "clothing", and within that create a subcategory "shirts".

Not sure if they need the ability to mix & match category IDs & category names within the same row. I don't see that being needed in practice, doesn't hurt anything if it happens to behave that way though.

Prefixing a category ID or name with a minus unlinks that product from that category.

They should also be able to delete categories standalone, without products. In this version, prefixing with a minus deletes the whole category! (powerful operation, they better be warned about the products that would be affected!)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions