Click or drag to resize
MultiBuyDiscountTreeInfoProviderSetMultiBuyDiscountTreeInfo Method

Note: This API is now obsolete.

Sets specified MultiBuyDiscountTreeInfo.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMultiBuyDiscountTreeInfoProvider.Set(MultiBuyDiscountTreeInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MultiBuyDiscountTreeInfo.Provider.")]
public static void SetMultiBuyDiscountTreeInfo(
	MultiBuyDiscountTreeInfo infoObj
)

Parameters

infoObj
Type: CMS.EcommerceMultiBuyDiscountTreeInfo
MultiBuyDiscountTreeInfo to set.
Remarks
Seting 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