Module: product
Functions
getAttributes
▸ getAttributes(attributes
): any
Parameters
Name | Type |
---|---|
attributes | any |
Returns
any
getProductAttributes
▸ getProductAttributes(product
): FoAttributeValue
[]
Parameters
Name | Type |
---|---|
product | Product |
Returns
FoAttributeValue
[]
getProductAttributesValues
▸ getProductAttributesValues(product
, locale
): any
Parameters
Name | Type |
---|---|
product | Product |
locale | string |
Returns
any
getProductBrand
▸ getProductBrand(product
): string
Parameters
Name | Type |
---|---|
product | Product |
Returns
string
getProductCategory
▸ getProductCategory(product
): string
Parameters
Name | Type |
---|---|
product | Product |
Returns
string
getProductDescription
▸ getProductDescription(product
): string
Parameters
Name | Type |
---|---|
product | Product |
Returns
string
getProductId
▸ getProductId(product
): string
Parameters
Name | Type |
---|---|
product | Product |
Returns
string
getProductMainImage
▸ getProductMainImage(product
): ProductMediaInfoDTO
Parameters
Name | Type |
---|---|
product | Product |
Returns
ProductMediaInfoDTO
getProductNpm
▸ getProductNpm(product
): string
Parameters
Name | Type |
---|---|
product | Product |
Returns
string
getProductPictures
▸ getProductPictures(product
): ProductMediaInfoDTO
[]
Parameters
Name | Type |
---|---|
product | Product |
Returns
ProductMediaInfoDTO
[]
getProductSku
▸ getProductSku(product
): string
Parameters
Name | Type |
---|---|
product | Product |
Returns
string
getProductSpecifications
▸ getProductSpecifications(product
): ProductSpecification
[]
Parameters
Name | Type |
---|---|
product | Product |
Returns
ProductSpecification
[]
getProductTags
▸ getProductTags(product
): any
[]
Parameters
Name | Type |
---|---|
product | Product |
Returns
any
[]
getProductThumbnails
▸ getProductThumbnails(product
): Thumbnails
[]
Parameters
Name | Type |
---|---|
product | Product |
Returns
Thumbnails
[]
getProductTitle
▸ getProductTitle(product
): string
Parameters
Name | Type |
---|---|
product | Product |
Returns
string
getRatingProduct
▸ getRatingProduct(reviews
): any
Parameters
Name | Type |
---|---|
reviews | ProductReview [] |
Returns
any
getReviews
▸ getReviews(reviews
): any
Parameters
Name | Type |
---|---|
reviews | any |
Returns
any