Controlling the order of lists

When objects are displayed in your store in lists they are ordered by "list order" first, followed by "name". The list order value can be between 0 and 999 and will default to 500 and the objects are always ordered in ascending order.

Objects that have a list order set against them are: products, categories, attributes, producers and delivery schemes.

If you leave the list order value unchanged then objects will be ordered alphabetically by their name. For example here is how the order of some products in a category named "fruit and veg" would be listed:

  • 500, banana
  • 500, Braeburn apple
  • 500, Desiree potato
  • 500, Granny Smith apple
  • 500, green pepper
  • 500, Maris Piper potato
  • 500, red pepper
  • 500, yellow pepper

 

To change the order the products are listed change the list order values:

  • 10, banana
  • 20, Braeburn apple
  • 30, Granny Smith apple
  • 40, Desiree potato
  • 50, Maris Piper potato
  • 60, green pepper
  • 70, red pepper
  • 80, yellow pepper

 

List order can also be used to group similar products together. This makes it easier to add further products.

  • 10, banana
  • 20, Braeburn apple
  • 20, Granny Smith apple
  • 20, Pink Lady apple
  • 30, Desiree potato
  • 30, Maris Piper potato
  • 40, green pepper
  • 40, red pepper
  • 40, yellow pepper

 

By leaving a gap between the list order values you are able to insert new products without having to reorder the whole list. Grouping further increases the number of products you can insert.

  • 10, banana
  • 20, Braeburn apple
  • 20, Granny Smith apple
  • 20, Pink Lady apple
  • 25, Hispi cabbage
  • 25, Savoy cabbage
  • 30, Desiree potato
  • 30, Maris Piper potato
  • 40, green pepper
  • 40, red pepper
  • 40, yellow pepper

 

Creating a list order strategy for products

Products can also appear in lists with products from other categories and when they do it is important that the integrity of the groups are maintained and like products stay together. By adopting a strategy where the list order of a product is determined by its primary category's list order the products will always be displayed in a predictable order.

  • 100, Meat
    • 110, Beef
      • 112, Steaks
      • 114, Joints
    • 120, Pork
      • 122, Steaks
      • 124, Joints
    • 130, Lamb
      • 132, Steaks
      • 134, Joints
    • 140, Sausages
    • 150, Burgers
    • 160, Mince
  • 200, Fruit
  • 300, Vegetables

 

  • 112, rump steak
  • 112, sirloin steak
  • 140, pork sausages
  • 200, Pink Lady apple
  • 300, Maris Piper potatoes