*

Olegs

  • **
  • 80 posts
In alphabet order
« on: February 12, 2019, 02:47:39 PM »
Hello. How i can make subcategories in alphabet order. We have 3 languages English, Russian and Latvian. For all three languages we need alphabetical order. Thnks

*

MB Themes

Re: In alphabet order
« Reply #1 on: February 12, 2019, 04:41:46 PM »
@Olegs
You must reorganize them in backoffice.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Olegs

  • **
  • 80 posts
Re: In alphabet order
« Reply #2 on: February 12, 2019, 05:11:29 PM »
You mean Backoffice Manager Plugin ?

*

MB Themes

Re: In alphabet order
« Reply #3 on: February 12, 2019, 08:32:35 PM »
@Olegs
Backoffice of oclass (oc-admin)
Oc-admin > settings > categories
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Olegs

  • **
  • 80 posts
Re: In alphabet order
« Reply #4 on: February 12, 2019, 10:26:01 PM »
@Olegs
Backoffice of oclass (oc-admin)
Oc-admin > settings > categories

In the admin panel you can put the alphabetical order only for one language. For example in English. But in Russian and Latvian we can not do this. Our site uses 3 languages, respectively, all categories have different names.

*

MB Themes

Re: In alphabet order
« Reply #5 on: February 13, 2019, 06:47:13 AM »
@Olegs
Correct, but as categories are retrieve from database by osclass, you would have to go to core and look for modifications there.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ivanko

  • ****
  • 327 posts
Re: In alphabet order
« Reply #6 on: February 15, 2019, 09:28:30 AM »
Hello. How i can make subcategories in alphabet order. We have 3 languages English, Russian and Latvian. For all three languages we need alphabetical order. Thnks
а почему города не перевел??
не порядок

*

Dannad

  • *
  • 9 posts
Re: In alphabet order
« Reply #7 on: March 22, 2019, 05:52:55 PM »
Locate this in oc-includes/osclass/model/Category.php (2 lines):


$this->dao->orderBy('i_position', 'ASC');


and replace them with:


$this->dao->orderBy('s_name', 'ASC');