Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / category sort order by language

category sort order by language

Locked

Views: 1,132

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
8 Feb 2008, 8:49 AM
#1
ckalech avatar

ckalech

New Zenner

Join Date:
Jun 2005
Posts:
11
Plugin Contributions:
0

category sort order by language

Can categories and subcategories be listed in different orders in different languages?

We want the interface to list categories in the side menu in one order in one language (category a, b, c) and in another language to list categories in a different order (category b, a, c) - alphabetical in each language

Any ideas?

8 Feb 2008, 9:33 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: category sort order by language

It could be done but would require custom coding.

You would need to duplicate the sort order field from the categories table to the categories_descriptions table (which recognises language) and then change the database queries to get the sort order from the new location.

There would be no maintenance of the value through the admin, as that would still be pointing towards the old location. But you could easily maintain them using a database tool such as phpMyAdmin instead.