38
Each order reduces discount by 1%
Rating 4.5 stars - 2 votes

How to Sort Magento 2 Category Positions

When the number of categories in an online store increases and the category tree is enriched with multiple levels, you might search for a solution to change positions of Magento categories. There may be several reasons for that:

  • rearrange the list in the way you want your customers to view it
  • improve navigation on your site
  • adjust the order of categories to show the most popular first
  • reorder categories alphabetically

In this tutorial, you will learn several ways how to sort categories in Magento 2.


The tutorial is relevant for both Magento 1 and Magento 2 versions.

Reorder Magento 2 Categories Using the Drag and Drop Feature

To manage categories in the Magento admin go to Catalog -> Manage Categories.

On the left, you will see a category tree. To view all parent categories and subcategories, click ‘Expand All’.

To rearrange the position of a category, drag it to a new position. Make sure to press ‘Save Category’ after you've finished.


Move categories in Magento 2 by drag-n-drop

After that, you can check how the categories are reflected at the store front.


Note: Remember to flush the Magento cache and run the reindex to make changes visible on the website.

A drawback of this method is that you need to move each category one by one and there is no option to reorder several Magento categories at once.


Rearrange Magento 2 Categories Massively

You can ease this task by extending the possibilities of the default Magento back-office. Here is how it works with Store Manager for Magento, a smart solution for Magento store management.


Download 14-day fully-functional version to try right now! TRY FREE!


Drag and Drop Bulks of Magento 2 Categories

With the Store Manager application, you can change the position of a few categories at once. Select the categories you want to move by holding a Control button on your keyboard. After that drag categories to a necessary location.



Drag and Drop Categories with Store Manager
Drag and Drop Categories with Store Manager

Set the Order of Categories (Position Number)

In Store Manager, you can see a category position in the category tree. To change category position, enter a new number and the order will be changed.



Change Positions in Store Manager
Change Positions in Store Manager

Update Category Positions via Export/Import

In the default Magento admin, there is no way to export/import categories separately from products. Store Manager for Magento, indeed, has a separate import/export wizard that allows you to get/upload category info.



Import Export Categories with Store Manager
Import Export Categories with Store Manager

  1. First of all, run the export wizard. In the step where you select fields to be exported, select category ID, position, and category name to see what categories you are dealing with.


  2. Select Fields to Export with Store Manager
    Select Fields to Export with Store Manager

  3. Next, open the file and set new category positions. Save the spreadsheet with the changes.


  4. Change Display Sort Order of Magento Categories with Store Manager File Example
    Change Display Sort Order of Magento Categories with Store Manager File Example

  5. Open the Import Categories Wizard and upload the file.

  6. Mind to map CSV columns you are importing to the corresponding database fields at the appropriate step of import.



    Change Display Sort Order of Magento Categories During Store Manager Import
    Change Display Sort Order of Magento Categories During Store Manager Import

    Check the changes with the category tree.


    Important: If changes you have made are not displayed at the front-end, clear the cache and perform reindex from the Magento backend.

Adjust the display order of the categories faster with Store Manager for Magento! FREE Download!



Related Articles:


Card image

Magento – Import Categories

Instructions on how to set up import of Magento categories and check the CSV import file sample. Read More...

Card image

Detect Magento Products Without Category

Check the methods of detecting Magento products not assigned to any category of your store and find out the reasons why they appear. Read More...

Card image

Assign Products to Categories by IDs

Configure Magento 2 import file to assign products to categories by category IDs. Read More...

Card image

How to Export Magento Products by Category

Find out how to easily export Magento products from specific category. Read More...


COMMENTS
Be the first to comment.