Click or drag to resize
ProductHelper Class
Provides advanced manipulation with products and product options.
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperProductHelper
        CMS.EcommerceProductHelper

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public class ProductHelper : AbstractHelper<ProductHelper>

The ProductHelper type exposes the following members.

Constructors
  NameDescription
Public methodProductHelper
Top
Methods
  NameDescription
Public methodStatic memberAllowAllOptions
Makes all options from option category specified by optionCategoryId parameter allowed for product given by skuId parameter.
Protected methodAllowAllOptionsInternal
Makes all options from option category specified by optionCategoryId parameter allowed for product given by skuId parameter.
Public methodStatic memberAllowOptions
Allows product options from option category to product. Individual options are checked whether they belong to given category.
Protected methodAllowOptionsInternal
Allows product options from option category to product. Individual options are checked whether they belong to given category.
Public methodStatic memberIsOptionAllowed
Returns true if option specified by optionId is allowed for given product.
Protected methodIsOptionAllowedInternal
Returns true if option specified by optionId is allowed for given product.
Protected methodRemoveAllowedOptionsInternal
Removes all allowed options from given option category from given product.
Public methodStatic memberRemoveOptionCategory
Removes option category from product. Allowed options are removed too.
Protected methodRemoveOptionCategoryInternal
Removes option category from product. Allowed options are removed too.
Public methodStatic memberRemoveOptions
Remove product options from option category from product. Individual options are checked whether they belong to given category.
Protected methodRemoveOptionsInternal
Remove product options from option category from product. Individual options are checked whether they belong to given category.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also