{"section":"tutorials","requestedLocale":"en","requestedSlug":"deactivating-and-reorganizing-categories","locale":"en","slug":"deactivating-and-reorganizing-categories","path":"docs/en/tutorials/catalog/categories/deactivating-and-reorganizing-categories.md","branch":"main","content":"From the **Catalog > Categories** page in the VTEX Admin, you can perform actions related to the [categories](/en/docs/tutorials/registering-a-category) configured in your store. See the sections below to learn how you can:\n\n- [Deactivate a category](#deactivating-a-category)\n- [Change the order of subcategories](#changing-the-order-of-subcategories)\n- [Change the category tree](#changing-the-category-tree)\n\n## Deactivating a category\n\nTo deactivate a category, follow the steps below:\n\n1.\tOn the VTEX Admin, go to **Catalog**.\n2.\tClick **Categories**.\n3.\tSelect the category or department that you want to deactivate.\n4.\tClick **Actions** and choose the **Edit** option.\n5.\tUncheck the **Menu** and **Active** options, based on your need.\n    - **Menu:** Defines if the category will appear on the site's top or lateral menu, although the category will still exist in the environment.\n    - **Active:** Defines whether the category is active on the site.\n6.\tClick `Save`.\n\n## Changing the order of subcategories\n\nIf a category has subcategories, they appear below the parent category in the category tree on the **Catalog > Categories** page of **the VTEX Admin**. To change the order of subcategories, follow the steps below.\n\n1.\tClick the desired parent category.\n2.\tClick **Actions** and, then, **Edit**.\n3.\tIn the **Child Categories** section, you can see the subcategories. In the **Position** column, click the blue button and drag it to the desired position.\n4.\tClick `Save` to save your changes.\n\n## Changing the category tree\n\n> ⚠️ Moving categories directly through the category tree can generate unexpected errors in your catalog. Therefore, we recommend following the instructions below to change category levels. Read the[ known issue](/en/known-issues/mover-categorias-gera-comportamentos-inesperados-na-arvore-de-categorias--6JSa9nnYoAAUQO1zPtzfZD) related to this for more information.\n\nThere are cases where you need to change the hierarchy level of a category. For example, imagine a store has a parent category called **Accessories** and a child category (subcategory) called **Shoes**, and they want to make **Shoes** a separate parent category.\n\nTo move a category without causing errors or losing information, follow the steps below:\n\n1.\tCreate a new clone from the category that will be migrated, but at the level it should be.\n\n  Example:\n\n    * 1 - Accessories\n        * 2 - Shoes\n    * 3 - Shoes clone\n\n2.\tTransfer all products from the old category to the clone category.\n3.\tDeactivate the old category.\n\n    Example:\n\n    * 1 - Accessories\n        * 2 - Shoes (inactive)\n    * 3 - Shoes clone (active and containing the products)\n\n## Learn more\n\n- [Categories - Concept definition](/en/docs/tracks/categories-concept-definition)\n- [Adding a category](/en/docs/tutorials/registering-a-category)"}