menu

SiteGenesis / Server-side JS / Module: models/ProductVariationModel

Model for product variation functionality.

Source:

module:models/ProductVariationModel

The model class

Source:

Classes

ProductVariationModel

Methods

(inner) ProductVariationModel/getVariationAttributeValue(variationAttribute, variationAttributeValueID)

Returns the ProductVariationAttrbuteValue object for the given attribute and the value ID.

Parameters:
Name Type Description
variationAttribute dw.catalog.ProductVariationAttrbute

the attribute

variationAttributeValueID String

the variation attribute value ID

Source:

(inner) ProductVariationModel/init(parameter)

Gets a new instance for a given product variation model.

Parameters:
Name Type Description
parameter

method of of super class to call.

Source: