Product Listing
TheuseProducts hook fetches a paginated list of products from the Shopify Storefront API.
Usage
Hook API
Query Fields
Each product edge returns:id— Shopify GIDtitle,handle,descriptionavailableForSalepriceRange—{ minVariantPrice, maxVariantPrice }images(first: 1)— primary imagevariants(first: 1)— first variant with price
GET_PRODUCTS operation in the GraphQL Reference.