Open eros2187 opened 7 years ago
Have you found a solution for this? I have checked the global get() result and thus i came to this idea, but it does not work either: print_r( $client->products->get( array( 'categories' => 'Shirts' ) ) );
But i am sure that it has to be something into that direction.
Ok, it looks like i found it out. It seems that it has to be like this: $category_name = "shirts"; print_r( $client->products->get(null,array('filter[category]'=>$category_name)) );
@qroft answer is the one you need
hi, I want to know it possible to have a list of products by tag??
Good morning I would like to know how it is possible to have a list of products by category I'm using this class but I will not return the products but arary only of the parameters of the category how can i do thanks !!
$category_id="16"; print_r( $client->products->get_categories( $category_id ) );