You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can get a category with its products and parents like this:
$query = '
{ category (id:'.$id.') {
category_id , name , products_count ,
categories { category_id , name } ,
products { product_id name, description, image, price, special }
} }';
But I cannot get a category with a filter as defined in schema.qgl
type CategoryType {
category_id:ID
name:String
...
filters:[CategoryFilterGroupType]
}
type CategoryFilterGroupType {
filter_group_id:ID
name:String
filter:[CategoryFilterDataType]
}
type CategoryFilterDataType {
filter_id:ID
name:String
}
Please help me with some examples on query with filters. For example query to get category filter by name and/or others.
Thank you very much.
The text was updated successfully, but these errors were encountered:
I can get a category with its products and parents like this:
$query = '
{ category (id:'.$id.') {
category_id , name , products_count ,
categories { category_id , name } ,
products { product_id name, description, image, price, special }
} }';
But I cannot get a category with a filter as defined in schema.qgl
type CategoryType {
category_id:ID
name:String
...
filters:[CategoryFilterGroupType]
}
type CategoryFilterGroupType {
filter_group_id:ID
name:String
filter:[CategoryFilterDataType]
}
type CategoryFilterDataType {
filter_id:ID
name:String
}
Please help me with some examples on query with filters. For example query to get category filter by name and/or others.
Thank you very much.
The text was updated successfully, but these errors were encountered: