swathi.somaraj
05-09-09, 07:42
hi,
I want to display all the products in my site with pagination.
Im passing parameters like this:
$productcolumns = array(sName,sDescription,iId);
$products = array( "iCategoryId" =>4,"sColumnToReturn" => $productcolumns, "bIncludeTree" => true);
$oResponse3= $oClient->call('getProductList', $products);
$count=$oResponse3->iTotalCount;
$sub_Products = array("iLimit"=>$count, "sColumnToReturn" => $productcolumns, "iCategoryId" =>4, "sSort" => $ProductListSortOption, "bIncludeTree" => true);
$oResponse4= $oClient->call('getProductList', $sub_Products);
Is this correct using $count for iLimit?
But this also returning only 10 products with iTotalCount.
Is there any other solution for getting all products?
can any body suggest me pls..
I want to display all the products in my site with pagination.
Im passing parameters like this:
$productcolumns = array(sName,sDescription,iId);
$products = array( "iCategoryId" =>4,"sColumnToReturn" => $productcolumns, "bIncludeTree" => true);
$oResponse3= $oClient->call('getProductList', $products);
$count=$oResponse3->iTotalCount;
$sub_Products = array("iLimit"=>$count, "sColumnToReturn" => $productcolumns, "iCategoryId" =>4, "sSort" => $ProductListSortOption, "bIncludeTree" => true);
$oResponse4= $oClient->call('getProductList', $sub_Products);
Is this correct using $count for iLimit?
But this also returning only 10 products with iTotalCount.
Is there any other solution for getting all products?
can any body suggest me pls..