Post by bakker.wessel » Mon Mar 31, 2014 9:22 pm

Hi all,

I'm having trouble with the sortorder of the subcategories (Open Cart 1.5.6.1).
The parent categories are sorted well as configured in the admin, but the subcategory are in the admin all configured as '1' under sort order. In the shop, the subcategories are shown in a complete random order.

Is there a way to set the sort order of subcategories?

Many thanks in advance!

Newbie

Posts

Joined
Tue Mar 04, 2014 5:05 pm

Post by BlueLotusStudio » Tue Apr 01, 2014 10:18 am

In your admin panel, open the subcategory and click on the data tab. At the bottom of the page is a "sort order" option; enter the order you want the subcategory to appear in. It will not display on the admin panel Category main page.

http://www.bluelotustreasures.com
oc v1.5.6.1 with vq_mod - clean install
Current extensions: currency drop down; usps fix; vqmodmanager; sliding shopping cart; multiple flat rate options; braintree payment gateway; ajax quick checkout; show voucher theme pictures


User avatar
Active Member

Posts

Joined
Fri Feb 28, 2014 8:15 am
Location - Maryland

Post by treasuresjewelry » Sat Apr 12, 2014 12:54 am

You just have to replace a line of code in the admin/model/catalog/category.php file

Go to this link for more info: https://github.com/opencart/opencart/co ... tegory.php

You just need to replace line 208 and it should work.


Posts

Joined
Wed Oct 23, 2013 1:57 am

Post by stokeyblokey » Sat Apr 12, 2014 4:14 am

It certainly does show the correct sort order for the sub-categories after making that change on 1.5.6, much more helpful now - thanks for the link treasuresjewelry! :)

Stokey


User avatar
Active Member

Posts

Joined
Sat Aug 31, 2013 10:19 pm
Who is online

Users browsing this forum: No registered users and 50 guests