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.
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.