Hello,
basically I am switching from one ecommerce solution to another, and I need to export the products and import them to the new one. Both ecommerce solutions offer export and import to / from XLSX, however, the categories are written in a very different way.
The “old” format has separate tables for categories and products:
CategoryName | CatID | ParentID
---------------------------------------------------
Food | 1 | 0
Fruits | 2 | 1
Vegetables | 3 | 1
Health | 4 | 0
Product | Category
-----------------------------------
Apple | 2
Orange | 2,4
Carrot | 3
The “new” format does not use category IDs and has category names in the same table with products:
Product | Category1 | Category2
-----------------------------------------------------------
Apple | Food > Fruits |
Orange | Food > Fruits | Health
Carrot | Food > Vegetables |
Is there a way to convert the old format to the new one, assigning the category names from their IDs etc., either using LO Calc’s built-in functionality or perhaps via something like Pandas in Python?
Thank you very much for any hint and have a nice weekend.
Petr Břeň