cancel
Showing results for 
Search instead for 
Did you mean: 

Display categories and subcategories at frontend with sorting alphabetically

Display categories and subcategories at frontend with sorting alphabetically

I want to display the subcategories in menu section in sorting order someone please help me out in this 

3 REPLIES

Re: Display categories and subcategories at frontend with sorting alphabetically

Hi,

 

If number of categories and subcategories are constant, then you can just re-arrange the subcategories under each category.

Clear the cache and check in the frontend.

Re: Display categories and subcategories at frontend with sorting alphabetically

Hello 

Thank you for your reply 

But i tried that solution but its not working is displays randomly 

Re: Display categories and subcategories at frontend with sorting alphabetically

Hi,

 

Then you can add a sort algorithm for each child/subcategory where its render in the page topmenu.php.