Click or drag to resize
MultiBuyDiscountCollectionInfoProviderAddMultiBuyDiscountToCollection Method

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static void AddMultiBuyDiscountToCollection(
	int multiBuyDiscountId,
	int collectionId,
	bool included
)

Parameters

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