# ProductListingCardOptions

# Props

Name Type Description
item required Object

# Data

Name Type Description Initial value
itemLoaded object {}
itemSelected object {}
facetsAvail object {}
facetsFilter array ['color_manufacturer']
isUpdating boolean false
uniqueOptions object {}
showTooltip boolean false
activeIndex any null

# Computed Properties

Name Description
itemIsSimple Dependencies: itemLoaded
itemIsGrouped Dependencies: itemLoaded
itemIsConfigurable Dependencies: itemLoaded
itemFacets Dependencies: itemLoaded
itemFacetsSuper Dependencies: itemFacets, facetsFilter
itemFacetsSuperAllSelected Dependencies: facetsAvail

# Events

Name Description
update-item-data emit update to the parent
Arguments
  • itemSelected: any

# Methods

# getSwatchable()

Syntax

getSwatchable(facetValue: unknow): void
1

# assignFacetOptionValues()

Syntax

assignFacetOptionValues(facetCode: unknow): void
1

# getFacetOptionColor()

Syntax

getFacetOptionColor(facetOptionColor: unknow): unknow
1

# getFacetOptionImage()

Syntax

getFacetOptionImage(facetOptionImgName: unknow, facetOptionImgSize: unknow, facetCodeAttrId: unknow): unknow
1

# selectFacetOption()

Syntax

selectFacetOption(facet: unknow, value: unknow): void
1

# getFacetOptionLabel()

Syntax

getFacetOptionLabel(facet: unknow, value: unknow): unknow
1