@wocart/storefront / index / getProductListView
Function: getProductListView()
getProductListView(
product):ProductView
Parameters
product
categoryId?
string
compareAtPrice?
number
coverImage?
{ altText?: string; height?: number; id: string; key: string; position: number; url: string; width?: number; }
coverImage.altText?
string
coverImage.height?
number
coverImage.id
string
coverImage.key
string
coverImage.position
number
coverImage.url
string
coverImage.width?
number
currency
string
description?
string
descriptionFormat
"html" | "text"
descriptionPlain?
string
handle
string
hasVariants
boolean
id
string
inventory
number
lowStockThreshold
number
metaDescription?
string
metaTitle?
string
name
string
price
number
reviewStats?
{ avgRating: number; reviewCount: number; }
reviewStats.avgRating
number
reviewStats.reviewCount
number
sku?
string
tags
string[]
trackInventory
boolean
type
"DIGITAL" | "PHYSICAL"
variantOptions?
object[]