Click or drag to resize
MultiBuyDiscountDepartmentInfoProviderAddMultiBuyDiscountToDepartment Method
Creates MultiBuyDiscountDepartmentInfo binding.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public static void AddMultiBuyDiscountToDepartment(
	int multiBuyDiscountId,
	int departmentId
)

Parameters

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