Steg-för-steg-guide
Merge empty product categories and remove an unused category
Review an empty-category merge, cancel safely, complete the approved cleanup and verify both results after reload.
Den här artikeln finns på engelska. Översättningar är på väg.
På den här sidan
Before you start — Shop-ERP
Use an account permitted to maintain categories. For training, first create two disposable top-level categories named Documentation merge source and Documentation merge target, with no products, children or custom-field references. See the related category creation guide. The actual English and Spanish application was captured at 1900×940 with fictional records.
Merging removes the source permanently. Deletion also removes the selected category. Obtain authorization and review the impact before either final confirmation. This walkthrough covers only empty, unreferenced categories.
Follow the steps — Shop-ERP
- Identify the empty source and target. Open Products › Categories. This training example adds Documentation merge source and Documentation merge target to the six original categories. Both new rows show zero products and zero subcategories. Confirm which category will be removed and which will remain.
- Open the source actions. Open Actions for Documentation merge source. Select the menu on the source row, not the category you intend to keep. The menu includes Merge into… and Delete.
- Open the merge form. Select Merge into…. Merge category names the source and explains that merging deletes it. Merge is disabled until a destination is chosen.
- Choose the destination. Open Merge into. Select Documentation merge target from the list. The source itself is excluded from the choices. This example uses an empty destination; it does not demonstrate moving products or child categories.
- Read the impact summary. Confirm the selected destination and No products and no subcategories move to Documentation merge target. Review these counts before continuing. A different impact is outside this empty-category example.
- Review the irreversible confirmation. Select Merge to open the final confirmation. Check both names. It states that the source will be deleted and This can’t be undone. Opening this confirmation has not merged anything.
- Check the cancellation path. To leave without merging, select Cancel in the confirmation, then Cancel in the merge form. Both temporary categories remain and the directory still shows Showing 8 of 8 categories.
- Inspect an empty-category deletion. Open the target row’s actions and select Delete. Delete category? names Documentation merge target and explains that deletion does not delete child categories or products. This empty record has no displayed blockers. Review the category name carefully.
- Cancel the deletion review. Select Cancel. The directory still contains both temporary categories and eight rows. Cancelling this dialog preserves the category.
- Complete the intended merge. When authorized to remove the source, reopen its Merge into… action, choose Documentation merge target, and select Merge. Recheck the names and zero counts. Select Merge and delete only when this is the intended irreversible operation.
- Verify the remaining target. The merge closes the dialogs. Documentation merge source disappears; Documentation merge target remains with zero products. The directory now shows Showing 7 of 7 categories.
- Check the merge after reload. Reload the same browser tab. Confirm that the source is absent, the empty target remains and the directory still contains seven categories. This verifies read-back within the current local example.
- Remove the remaining unused category. For this authorized training cleanup, open Actions for Documentation merge target › Delete. Check Delete category? and the exact name again. Select Delete category to remove this empty temporary record.
- Check the cleaned directory. The deletion dialog closes. Neither temporary name remains, and Showing 6 of 6 categories is restored. The six original category rows and their displayed product counts remain.
- Confirm the final result after reload. Reload the same tab once more. Confirm the six original categories and the absence of both temporary records. The merge and deletion example is complete.
What happens next — Shop-ERP
Both cancellation paths preserved the two records. The approved merge removed only the empty source; the approved deletion then removed the empty target. Read-back after each same-tab reload and the final six-category directory were checked in English and Spanish.
This is local preview evidence. Connected persistence, other tabs, permissions, populated merges, product reassignment, child reparenting, custom-field reference migration and downstream publication remain unverified.
If something goes wrong — Shop-ERP
If the destination is wrong or the counts differ from your intended change, cancel both confirmation and merge form. If deletion lists blockers, resolve the listed dependencies using a verified procedure; do not assume deleting a parent will delete its products or children. If a command fails, refresh and inspect the current directory before retrying. Do not infer that a closed dialog alone proves success: check the resulting rows and reload.
Bedöm artikeln
Var det här till hjälp?
Berätta vad vi kan förklara tydligare.
Relaterade guider
Fler guider för Shop-ERP.
- Create a category, choose its parent and check the saved category path.
Create a product category under a parent
- Read the category deletion blockers and identify the dependencies to resolve.
Category can't be deleted
- Recover the list before assuming records are missing.
A transaction search returns no rows