• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 29, 2024, 01:25:03 am

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Simon

1
Programming of KonaKart / Get BestSellers Per Category
September 14, 2011, 11:11:38 am
Hi guys,

I wrote below code,  try to get best sellers from per category:

int catId = ParamUtil.getInteger(renderRequest, "kkCategoryId");
System.out.println("catID : " + catId);
ProductMgr pMgr = (ProductMgr) renderRequest.getAttribute("pMgr");
ProductIf[] productIfs = pMgr.getBestSellersPerCategory(catId, true);

but i can't get anything from getBestSellersPerCategory(catId, boolean), before i call this function, I already get catId value,
is there anything wrong in these code i wrote?

Thanks.
2
Hi guys,

For one project, i have to get reviews list by date(last 7 days, year to date, etc),  I've check the API, but didn't find the function about this, is there any way to get the reviews list by date?

Now I just created the custom SQL to get the review list

Thanks.
3
Hi guys,

How can i  integration liferay session with Konakart session?

I can get Konakart Admin Session from konakartAdmin.properties - konakart.session.durationMinutes= 10,
is there any way to merge it with liferay session?

Thanks.
4
Hi guys,

Is there any API in konakart i can you use to get Total Products Sold or Total Orders from the following options:
-All Time, Last 30 Days, Year to Date?

Now I just run a custom SQL to do that, is there other better way to solve it?

Thanks.
5
Hi guys,

Where can i get the konakart & konakartadmin portlet source (liferay portlet).

Thanks!