@wocart/storefront / index / ProductPage
Interface: ProductPage
One page of products from products.page() or products.search().
Properties
hasNext
hasNext:
boolean
True when another page follows this one.
items
items:
object[]
categoryId?
optionalcategoryId?:string
compareAtPrice?
optionalcompareAtPrice?:number
coverImage?
optionalcoverImage?:object
coverImage.altText?
optionalaltText?:string
coverImage.height?
optionalheight?:number
coverImage.id
id:
string
coverImage.key
key:
string
coverImage.position
position:
number
coverImage.url
url:
string
coverImage.width?
optionalwidth?:number
currency
currency:
string
description?
optionaldescription?:string
descriptionFormat
descriptionFormat:
"html"|"text"
descriptionPlain?
optionaldescriptionPlain?:string
handle
handle:
string
hasVariants
hasVariants:
boolean
id
id:
string
inventory
inventory:
number
lowStockThreshold
lowStockThreshold:
number
metaDescription?
optionalmetaDescription?:string
metaTitle?
optionalmetaTitle?:string
name
name:
string
price
price:
number
reviewStats?
optionalreviewStats?:object
reviewStats.avgRating
avgRating:
number
reviewStats.reviewCount
reviewCount:
number
sku?
optionalsku?:string
tags
tags:
string[]
trackInventory
trackInventory:
boolean
type
type:
"DIGITAL"|"PHYSICAL"
variantOptions?
optionalvariantOptions?:object[]
total
total:
number
How many products the whole listing holds, across its pages.