Ejemplo n.º 1
0
 /**
  * Get all Products of a specific Product Group
  *
  * @param integer $no
  * @return object
  */
 public function products($no)
 {
     $handle = $this->getHandle($no);
     $productHandles = $this->client->ProductGroup_GetProducts(['productGroupHandle' => $handle])->ProductGroup_GetProductsResult->ProductHandle;
     $product = new Product($this->client_raw);
     return $product->getArrayFromHandles($productHandles);
 }