Jump to content

Advanced Top Menu Category Order


stuffedhippo

Recommended Posts

Hope someone can help. Great module but...

 

When adding a category item group and including all sub categories the order of the subcategories have no relation to the order of the sub categories in the PS Catalog Tab. It seems to randomly order them, ie not but alphabetically or by PS Catalog Tab ID or by Advanced Top Menu ID. Also if I bring in the sub categories individually in the list Advanced Top Menu still reorders them!!!!

 

Can anyone shed light on this?

 

Thanks

 

Advanced-Top-Menu.jpg

Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...

Actually, the dev did something about it: they added a position column in the database table. Unfortunately, there is no interface in the admin to actually sort the categories.

 

Anyway, I think it's the wrong approach: the categories are already sorted. I changed the code to use the categories order:

 

In AdvancedTopMenuElementsClass.php, line 171, replace:

 

ORDER BY ate.`position`';

with

ORDER BY ca.`position`';

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...