How to Revoke Incorrect Category Mappings
Revoke incorrect category mappings in IHASHOP, select the correct target, preserve store categories and check products after synchronization.
Category mappings in IHASHOP Dropshipping 1.0.0 can be revoked without deleting store categories. Revocation removes approval of the source-to-store relationship; publication and sales remain separate. This guide follows reviewed source code and existing tests.
1. Locate the incorrect mapping
With valid entitlement, Seller role and settings.edit permission, open Marketplace > Dropshipping Category Mapping (/secure/dropshipping/kategori-esleme). Select the supplier, disable Unmapped only and search the category path. Check the existing target on the Mapped row. Only active source categories appear.
2. Confirm revocation
Click Revoke. The confirmation explains that the mapping will be revoked and a created store category will not be deleted. Confirm to see Mapping revoked and Revoked status. Only approved records can be revoked; repeating the action yields ESLEME_YOK. No write occurs without the module entitlement and Seller role.
3. Version and database protection
KategoriEslemeServisi executes geriAl in a transaction. EloquentEslemeDeposu changes only an approved row to revoked, clears aktif_anahtar to NULL, increments version and updates decided_by and decided_at. Record ID and previous category_id remain. The unique active key in ds_category_mappings protects one active primary mapping per source. Foreign key RESTRICT prevents physical deletion of referenced source and store categories, even for a revoked record. The version counter is not a full revision history: reapproval updates the same latest row.
4. Select the correct target again
The store category selector reappears on the revoked row. Inspect the complete path, choose the correct target and click Map. An example sequence is first approval version 1, revocation version 2 and reapproval version 3. Reapproving the same approved target does not increment the version; a different target does. The target must exist and the source must be active. Use the separate creation workflow if needed; mapping is not automatic.
5. Compare GiyimDepom and Luxstoree
GiyimDepom JSON uses CategoryId and CategoryPath; Luxstoree XML builds a path from main_category, top_category, sub_category and category. Revoke the illustrative wrong targets in the table and select the correct store branch. There is no need to change source category identity or path. These are not live catalog records; verify actual store paths.
SourceSource pathIncorrect targetCorrect targetGiyimDepomWomen > DressesWomen > AccessoriesWomen > DressesLuxstoreeLingerie > BrasMen > UnderwearLingerie > Bras6. Review the next synchronization
Revocation does not immediately change source product states. During the next successful applied sync, new products and existing staged, requires_mapping and returning missing products become staged or requires_mapping according to approved mapping. Existing ready and active states are preserved; archived products are untouched. A state difference can be written even if the product hash is unchanged. Preview alone does not persist these state changes.
7. Protect existing store products
Revocation does not modify categories, products or product_variants. Existing products on sale are not automatically withdrawn; source synchronization does not automatically change their store category. Inspect incorrectly published products in Product Publishing and Catalog. Correct their sales status and store categories through authorized actions if needed. Do not use revocation as a category deletion tool.
8. Acceptance checklist
Check mapping status, correct target path, next successful sync and the category and sales status of existing products separately. Existing tests cover category preservation, rejection of repeated revocation and reapproval of the same record at version 3. Source mapping is not an automatic rollback of product publication.
Related guides
- How to Use Category Mapping Suggestions
- 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
Does revocation delete the store category?
No. The mapping becomes revoked and the category remains.
Can a mapping be revoked twice?
No. The second action is rejected with ESLEME_YOK.
Are all previous versions stored separately?
No. The reviewed service updates the latest row and increments its version.
Are active products automatically withdrawn?
No. Revoking a category mapping is not a sales closure.
When does reapproval take effect?
Source products are evaluated during the next successful applied sync.