• Welcome to KonaKart Community Forum. Please login or sign up.
 

Sorting products

Started by jasonmaclean, September 10, 2011, 03:48:05 pm

Previous topic - Next topic

jasonmaclean

I've looked but can't find a way to sort products in a similar fashion to that used in the categories area. I'd like to be able to set a value for each product (as we only have about 50), and sort by that. I'd be happy sorting by name, but the marketing team is insistent.

kate

Hi Jason,

You could set this search order value in a custom field in each product then set in the DataDescriptor that you want to order by that field.. then call searchForProducts.

See:  http://www.konakart.com/javadoc/server/com/konakart/appif/KKEngIf.html#searchForProducts(java.lang.String, com.konakart.appif.DataDescriptorIf, com.konakart.appif.ProductSearchIf, int)