Hi Nicolas,
The thing is that my customer use an external system for managing their product catalogue and product categories, which is imported into Hikashop at regular intervals.
I cannot rely on existing categories in Hikashop since my customer may decide to reorganize their entire product catalogue into new categories.
Is it possible to set the category_code field for categories during CSV import, and reference this category_code when importing products?
CSV could look something like this:
parent_category,parent_category_code,categories
product category,,Coffee machines|cm;Spare parts|sp;Accessories|acc,Water Coolers|wc
Coffee machines,cm,Whole bean machines|cm_wb;Filter machines|cm_fm,Instant machines|cm_im
Spare parts,sp,Coffee machines|sp_wc;Water Coolers|sp_wc
Accessories,acc,Coffee machines|acc_wc;Water Coolers|acc_wc
Water Coolers,wc,Cold water|wc_cw;Cold and sparkling water|wc_cwsw
This is part of the actual categories that my customer use. Without the category code reference, the problem is that when creating categories from the last line the parent category could be either (product category->)Water Coolers, Accessories->Water Coolers or Spare parts->Water Coolers. I guess it will just choose the first one from the database lookup...
Michael