How to Use Category Mapping Suggestions
Use IHASHOP category mapping suggestions to compare equal category names, select the correct store target and avoid unnecessary duplicates.
Category mapping suggestions in IHASHOP Dropshipping 1.0.0 help administrators make an explicit choice when creating a category encounters an existing leaf with the same name. Suggestions are not automatic mappings. This guide follows reviewed source code and existing tests.
1. Open the suggestion workflow
With valid entitlement, Seller role and settings.edit permission, open Marketplace > Dropshipping Category Mapping (/secure/dropshipping/kategori-esleme). Select the supplier and locate an unmapped source category. Inspect full paths in the existing store category selector first. If no suitable target exists, click Create new category and map and review the confirmation.
2. Understand the trigger
The creation service walks the source path from the root, reusing matching intermediate categories under the relevant parent. If the final segment exists under that parent, AYNI_AD_VAR stops creation and Livewire opens the suggestion panel. The initial check is scoped to the parent. A same-name category in another branch alone does not guarantee a panel. Invalid paths and #ID fallback names are rejected for creation and suggestions.
3. Understand multilingual comparison
The ayniAdli service reads all stored language values of the name field across store categories. It collapses whitespace, trims and lowercases with mb_strtolower, then checks exact equality. Dress matches dress; Elbise matches Dress only if the corresponding name is stored in the category's translations. There is no automatic translation, synonym matching, similarity scoring or AI. Results are sorted by category ID, not relevance.
4. Inspect the complete category path
Suggestions search the entire store category tree and build paths from parent_id. The path uses the first stored text value, not necessarily the panel language. The traversal is capped at 50 steps. No status filter is applied, so inactive categories can be suggested. Equal leaf names in different branches can represent different product groups. Check parent, product type, language and publication status.
5. Compare GiyimDepom and Luxstoree
GiyimDepom JSON CategoryPath and Luxstoree XML main_category, top_category, sub_category and category can provide different paths. In the illustrative examples below both end in Accessories. If corresponding paths already exist, creation conflicts can open suggestions. Do not map the Women's and Men's branches together solely by the leaf name. Examples are not live supplier catalog records.
Comparative examples
SourceIllustrative source pathStore target to inspectGiyimDepomWomen > AccessoriesWomen > AccessoriesLuxstoreeMen > AccessoriesMen > Accessories6. Choose one of three actions
Map to this category approves a link to the selected existing category without creating a category. Create anyway, after confirmation, reuses intermediate categories and creates a new inactive leaf, using a suffix such as -2 for slug conflicts. Cancel only closes the suggestion panel. Computing suggestions writes no mapping. The normal mapping service verifies active source and existing target; suggestion-list membership is not a separate server restriction. Commercial suitability remains the administrator's decision.
7. Check the result and next sync
Successful existing-category mapping displays Category mapped. Products are updated on the next sync. Creating a new category and its mapping uses one transaction. Source products are evaluated during the next successful applied sync. Suggestions and mapping do not create shop products or open sales. Use Revoke for an incorrect mapping; a created store category is not deleted. Existing tests cover no automatic mapping, explicit approval and new leaf creation.
Related guides
- How to Create New Store Categories from Supplier Categories
- Supplier Category Mapping: How to Map Categories to Your Store
- How to Integrate GiyimDepom Dropshipping with IHASHOP
- How to Integrate Luxstoree Dropshipping with IHASHOP
- IHASHOP Dropshipping
Frequently asked questions
Do suggestions map automatically?
No. The administrator chooses a target.
Are suggestions ranked by similarity?
No. They are sorted by category ID.
Are multiple languages compared?
Yes. All stored names are normalized and compared; no translation is performed.
Can inactive categories be suggested?
Yes. The suggestion query has no status filter.
What does Cancel do?
It closes the panel without saving a new category or mapping.