Knowledgebase

Home » Item #889

Ordering categories and products

Item: #889
Date: 8 Jun 2004
Applies to
v5

Question

I have a product with a list of Subcategories. How can I change the order of the subcategories? So for example, category A appears top of the list, but should be third place down.

Also, how do I order the products in that category?

Answer

Both sub-categories and products in a category can be ordered by the 'arbitrary order by value'.

First, set the config setting 'orderby_categories' to PT_OrderByValue. Then for each category, assign it an integer order by value, with 1 for the top of the list.

Do the same for products. You'll also need to modify the category to set the 'Order Products By' field to 'Arbitrary Order By Value'. This can be done globally with the 'orderby_products' config setting.

Can't find the answer you need? Click here to open a support ticket.

« Back