VariantHelper DeleteAllVariantsInternal Method Kentico 8.1 API Reference
Deletes all variants one by one. If delete operation is successful for processing variant removeSucceededAction with variant ID as a parameter is launched.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

productId
Type: OnlineSystem Int32
The product ID with variants to delete.
removeSucceededAction (Optional)
Type: OnlineSystem Action OnlineInt32 
The remove succeeded action with variant ID as a parameter.
See Also