-- HikaShop version -- : 6.5.2
-- Joomla version -- : 6;1.3
-- PHP version -- : 8.3
Hi
We use HikaShop on Joomla (FaLang: ru, en, ua, ge). Our catalog is a tree where leaf categories often have the same display name under different parents. Example:
Judaica → Hamsa
Christianity → Hamsa
(later) Brand A → Hand cream / Brand B → Hand cream
The names on the storefront must stay identical. Renaming leaves (“Hamsa Judaica”, “Hand cream 1”) is not acceptable.
What we tried
Product import (Products → Import) with parent_category + categories, and “Create automatically missing categories” enabled.
HikaShop looks up categories by name and takes the first match. The second “Hamsa” is not created; products from both branches land in one category. parent_category does not disambiguate an existing category.
Putting only the leaf name in categories (as in a HikaShop product export) — same result.
Docs say the categories column can be IDs or namekeys. That works for assigning products, but only after the two “Hamsa” categories already exist. Product import does not seem able to create two categories with the same category_name and different namekeys.
Nicolas wrote on the forum that aliases cannot be used for this, and that category IDs should be used instead.
Question
What is the supported way to create and update such a tree automatically (CSV, mass action, or another built-in tool), so that:
display names may repeat;
each category has a stable unique key (namekey or ID);
later product imports can attach products by that key, not by name?
Is there a category-only import (not the product importer) that accepts category_name + category_namekey + parent?
Or can product import create a missing category by namekey while keeping a separate display name?
We would rather not maintain a custom PHP script or import #__hikashop_category by hand. If the product CSV cannot do this, please confirm that, and tell us the official workflow you recommend.
Thank you