Click or drag to resize
MultiBuyDiscountSKUInfoProviderAddMultiBuyDiscountToProduct Method
Creates MultiBuyDiscountSKUInfo binding.

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

Parameters

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