SFRA Server-side Javascript - Namespace: Tile menu

SFRA / Server-side JS / Namespace: Tile

Tile

Methods

(static) Base/Tile-Show()

Tile-Show : Used to return data for rendering a product tile

Parameters:
Type Description
middleware

cache.applyPromotionSensitiveCache

querystringparameter

pid - the Product ID

querystringparameter

ratings - boolean to determine if the reviews should be shown in the tile

querystringparameter

swatches - boolean to determine if the swatches should be shown in the tile

querystringparameter

pview - string to determine if the product factory returns a model for a tile or a pdp/quickview display

querystringparameter

quantity - Quantity

querystringparameter

dwvar__color - Color Attribute ID

querystringparameter

dwvar__size - Size Attribute ID

category

non-sensitive

renders

isml

serverfunction

get

Source: