Variables accepted by the Catalog Shopify GraphQL query (@/queries/shopify-product-query.gql).
Catalog
@/queries/shopify-product-query.gql
const variables: ShopifyQueryVariables = { q: "sodium OR potassium", n: 200, cursor: null }; Copy
const variables: ShopifyQueryVariables = { q: "sodium OR potassium", n: 200, cursor: null };
Storefront search query (supports AND/OR/NOT and field filters like title:*gold*)
title:*gold*
Maximum number of products to return in this page
Relay pagination cursor (after); null for the first page
after
Variables accepted by the
CatalogShopify GraphQL query (@/queries/shopify-product-query.gql).Example