KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: ssharma on May 21, 2008, 05:53:46 am

Title: Which method is given to fetch product sort by date and price
Post by: ssharma on May 21, 2008, 05:53:46 am
hi
i want to fetch products sort byprice and sort by datewise.Is there any method available in konakart API ??
please guide me as son as possible.
Title: Re: Which method is given to fetch product sort by date and price
Post by: ryan on May 21, 2008, 06:17:15 am
You need to configure the DataDescriptor object by setting setOrderBy() and setOrderBy_1() . This object is present in all API calls that retrieve an array of products. Take a look at the javadoc.