Click or drag to resize
MultiBuyDiscountBrandInfoProviderRemoveMultiBuyDiscountFromBrand Method

Note: This API is now obsolete.

Deletes MultiBuyDiscountBrandInfo binding.

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

Parameters

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