| ProductHelper Class |
Namespace: CMS.Ecommerce
public class ProductHelper : AbstractHelper<ProductHelper>
The ProductHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| ProductHelper |
| Name | Description | |
|---|---|---|
| AllowAllOptions |
Makes all options from option category specified by optionCategoryId parameter allowed
for product given by skuId parameter.
| |
| AllowAllOptionsInternal |
Makes all options from option category specified by optionCategoryId parameter allowed
for product given by skuId parameter.
| |
| AllowOptions |
Allows product options from option category to product.
Individual options are checked whether they belong to given category.
| |
| AllowOptionsInternal |
Allows product options from option category to product.
Individual options are checked whether they belong to given category.
| |
| IsOptionAllowed |
Returns true if option specified by optionId is allowed for given product.
| |
| IsOptionAllowedInternal |
Returns true if option specified by optionId is allowed for given product.
| |
| RemoveAllowedOptionsInternal |
Removes all allowed options from given option category from given product.
| |
| RemoveOptionCategory |
Removes option category from product. Allowed options are removed too.
| |
| RemoveOptionCategoryInternal |
Removes option category from product. Allowed options are removed too.
| |
| RemoveOptions |
Remove product options from option category from product.
Individual options are checked whether they belong to given category.
| |
| RemoveOptionsInternal |
Remove product options from option category from product.
Individual options are checked whether they belong to given category.
| |
| SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |