Changing the order of products displayed in admin

Discussion in 'Customization & add-ons' started by behaviourneeds, Apr 4, 2011.

  1. behaviourneeds

    behaviourneeds Member

    Joined:
    Jan 26, 2010
    Messages:
    47
    Hi.

    Where would I find the code to change the order of products displayed under manage products. I want to order by scope, I have had a root round and cant find the sql.

    Cheers
    Chris
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Chris,
    Products are being sorted by sort order field.
    if you want to order by scope, you will need to modify get_products_list function in mysql.inc.php but I don't think this is necessary. you already can do what you need using default sort order field.
    For example:
    for signup only products use numbers from 0 to 100
    For member only products from 100 to 200
    And for disabled from 200 to 300

Share This Page