VariantHelperGetProductVariant Method |
Gets SKU object of product variant from parent product and options.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax public static SKUInfo GetProductVariant(
int productId,
ProductAttributeSet productAttributes
)
Parameters
- productId
- Type: SystemInt32
The product ID. - productAttributes
- Type: CMS.EcommerceProductAttributeSet
The product options.
Return Value
Type:
SKUInfoSKU object.
See Also