Click or drag to resize
MultiBuyDiscountTreeInfoProviderAddMultiBuyDiscountToTree Method
Creates MultiBuyDiscountTreeInfo binding.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static void AddMultiBuyDiscountToTree(
	int multibuydiscountId,
	int nodeId,
	bool included
)

Parameters

multibuydiscountId
Type: SystemInt32
Buy X Get Y discount ID.
nodeId
Type: SystemInt32
Node ID.
included
Type: SystemBoolean
Include flag.
Remarks
Adding the MultiBuyDiscountTreeInfo does not affect other existing info objects like MultiBuyDiscountSKUInfo or MultiBuyDiscountBrandInfo or MultiBuyDiscountCollectionInfo or MultiBuyDiscountDepartmentInfo This could lead to extended discount application than needed.
See Also