DiscountInfoProviderRecalculateDiscounts Method |
Recalculates catalog discount values using the given coefficient.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax public static void RecalculateDiscounts(
float coefficient,
int roundTo,
string where,
int siteId
)
Parameters
- coefficient
- Type: SystemSingle
Factor by which values are recalculated - roundTo
- Type: SystemInt32
Number of significant digits the number should be rounded to - where
- Type: SystemString
Additional WHERE condition - siteId
- Type: SystemInt32
ID of the site which records are to be recalculated
See Also