Contributions

Features (Category Index)
Search: 

Custom sort order field for products in admin/categories.php

This modification adds a textbox next to the status radio buttons in categories.php which allows you to enter a default sort order for your products (see screenshot.jpg).

The customer is still able to resort products in the product listing if they want but this mod provides a means of ensuring that your premium products are shown at the top of the listing.

To set the sort order, simply enter the number directly into the textbox.

It is easy to implement with only one column added to the products table and 8 chunks of code to copy/paste.

Also included in the miniimages.txt file is a simple mod (4 copy/pastes) to add a tiny image (your existing image scaled down, see screenshot.jpg) next to each product in categories.php

To implement this mod(s), either follow the instructions in this text file (and miniimages.txt for the image mod) or use a text compare tool such as 'beyond compare' to compare your files with those included in this zip.

Expand All / Collapse All

2.3.1 Version 15 Jan 2012

New pckage uploaded at http://addons.oscommerce.com/info/8311 so it can be found.

Please check there for latest version.

Sort Order 13 Jun 2011
Sort Order 13 Jun 2011
Update to Code 22 May 2011
Only works on older version Oscommerce 5 Jun 2008
Total revised version by Beermoster works perfectly!! 5 Jun 2008
Ignore fix below, this is correct 10 Apr 2008
SQL Syntax Error 9 Apr 2008
Sort Categories As Well v1.1 25 Nov 2007
Sort Categories As Well 19 Nov 2007
Totally Revised Version 5 Aug 2005
onclick event problem Bryan Clark 12 Jun 2005
Bug Fix Brian Sim 7 Jan 2005
Bug Fix Brian Sim 7 Jan 2005
Custom sort order field for products in admin/categories.php Brian Sim 20 Oct 2004

Note: Contributions are used at own risk.