ProductDiscountSourceAddCatalogDiscounts Method |
Adds grouped catalog discounts applicable to the specified sku to the groups collection.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected void AddCatalogDiscounts(
ICollection<DiscountCollection> groups,
SKUInfo sku,
PriceParameters priceParams
)
Parameters
- groups
- Type: System.Collections.GenericICollectionDiscountCollection
Collection of discount groups. - sku
- Type: CMS.EcommerceSKUInfo
The product. - priceParams
- Type: CMS.EcommercePriceParameters
Calculation parameters
See Also