nuxt-shopify icon indicating copy to clipboard operation
nuxt-shopify copied to clipboard

Product filters in queries

Open PaulBouisset opened this issue 3 years ago • 1 comments

Are product filters available with nuxt-shopify when doing product queries? I would like to filter a collection of product by price/tags/vendor etc.. I know this is available (to some extend) with the storefront API but I am not sure how to use it with nuxt-shopify.

Also in collection with pagination is it possible to add query? Ex: In collection A get first 20 products with price below 20€ or color blue.

PaulBouisset avatar Jul 02 '21 13:07 PaulBouisset

It's now possible to use filters with the Storefront API: https://www.shopify.co.uk/partners/blog/shopify-api-release-january-2022#product-filtering

However, it's not possible via the shopify-buy SDK (yet), but I might rework this module with a new SDK soon

Gomah avatar Jan 07 '22 17:01 Gomah