Click or drag to resize
MultiBuyDiscountSKUInfoProviderRemoveMultiBuyDiscountFromProduct Method

Note: This API is now obsolete.

Deletes MultiBuyDiscountSKUInfo binding.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMultiBuyDiscountSKUInfoProvider.Remove(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MultiBuyDiscountSKUInfo.Provider.")]
public static void RemoveMultiBuyDiscountFromProduct(
	int multiBuyDiscountId,
	int skuId
)

Parameters

multiBuyDiscountId
Type: SystemInt32
Multi buy discount ID
skuId
Type: SystemInt32
Product ID
Remarks
Removing the MultiBuyDiscountSKUInfo does not affect other existing info objects like MultiBuyDiscountDepartmentInfo or MultiBuyDiscountBrandInfo or MultiBuyDiscountCollectionInfo This could lead to extended discount application than needed.
See Also