My bigcommerce code for filtering begins like this:
for($x=1;$x<$count;$x++){
$filter = array('category' => 54, 'limit' => 200, 'page' => $x);
$products = Bigcommerce::getProducts($filter);
This doesn't work quite right, and I'm not sure if it is meant to.
Here is the bigcommerce api in php.
Can anyone tell me the correct way to pull only the results that have a category id of 54 using $filter?