I'm working with GraphQL in my application, specifically with product filtering and sorting. Currently, the system is configured to use the lowest price of the product variants for filtering and sorting purposes. However, I need to modify this behavior to utilize the highest price of the product variants instead.

Additionally, I would like the highest price to be reflected in the aggregations as well. Currently, the aggregations show the lowest price, but I need them to display the highest price of the product variants.

Could someone please guide me on how to make these changes in my GraphQL configuration? I would greatly appreciate any insights, examples, or suggestions on how to achieve this.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.