+ Almost all quality improvement comes via simplification of design, manufacturing... layout, processes, and procedures.

July 30, 2010, 5:04 pm

Cubecart custom category order

August 5, 2007

So I developed another new mod for cubecart, this one allows you to sort out your categories in cubecart the way you want without staying with the normal sort by name or id as seen in other mods. This mod only modifies 3 files and installs one column “pos” to your database to do the ordering. Remember to back up your database and files before attempting any modification on your original files. To download this file click on the link below.

Custom category ordering 1.0

custom_category_order_1.3 (updated for manual ordering)

Posted by Anthony under Cubecart, PHP | Comments (11)

11 Comments »

  1. Amazing! This is a total life saver!! Thank you!

    Comment by Heather Gerlaugh — October 12, 2007 @ 1:33 pm

  2. Legendary. Thank you!

    Comment by Richard Myers — November 8, 2007 @ 5:28 pm

  3. How can i order my categories in cubecart v4?
    Can i use this mod somehow?

    (can’t find the file “admin/categories/index.php” anymore)

    Thank you!

    Comment by Manuel — November 29, 2007 @ 8:17 am

  4. Nice simple mod, Exactly what I need Thanks

    Comment by Kevin — January 28, 2008 @ 7:28 am

  5. This is not compatible with CC4 manuel

    Comment by Anthony LeBoeuf — March 7, 2008 @ 11:33 am

  6. Thank you, thank you, thank you.

    Comment by Brian — March 19, 2008 @ 12:13 am

  7. Brilliant work – Worked first time and very straight forward.

    Many many thanks for your work.

    Comment by Paul — July 1, 2008 @ 6:13 am

  8. I’m not a whizz with cube cart to say the least but even I could follow the simple find/replace/add instructions.

    This works a treat, and its free, very well done!!

    Andy

    Comment by Andy Blackett — August 14, 2008 @ 2:42 pm

  9. After installing this in the latest (version 3) I’m getting a missing POS table database error.

    Comment by Abigail — November 28, 2008 @ 6:54 pm

  10. Abigail just go to the cat page in admin and it should install the column pos as you can see in this line of text

    $result = @mysql_query(”ALTER TABLE “.$glob['dbprefix'].”CubeCart_category ADD pos INT( 11 ) NOT NULL DEFAULT ‘0′”);

    Comment by Anthony LeBoeuf — November 28, 2008 @ 6:59 pm

  11. This broke a cart I’m working on, here is what the error reads:
    ################################
    MySQL Error Occured
    1054: Unknown column ‘pos’ in ‘order clause’

    QUERY = SELECT cat_name, cat_id FROM CubeCart_category WHERE cat_father_id = 0 ORDER by pos
    ################################

    I will appreciate any advise
    Thanks

    Comment by Abigail — November 28, 2008 @ 7:00 pm

RSS feed for comments on this post. | Trackback

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

*
To prove that you're not a bot, enter this code
Anti-Spam Image