-
-
Notifications
You must be signed in to change notification settings - Fork 141
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Is your feature request related to a problem? Please describe.
Currently the wp-graphql-woocommerce plugin only supports finding products by a single taxonomy.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Currently you can only search products on a single taxonomy as follows:
query MyQuery {
products(where: {categoryIn: "womens", taxonomyFilter: {or: {taxonomy: PACOUNTRY, terms:"USA"}}}) {
edges {
node {
name
}
}
}
}
Describe alternatives you've considered
Would like to search multiple taxonomies with an array:
query MyQuery {
products(where: {categoryIn: "womens", taxonomyFilter: {or: [{taxonomy: PACOUNTRY, terms:"USA"}, {taxonomy: PAFRAMECOLOR, terms:"Black"}] }}) {
edges {
node {
name
}
}
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo