Click or drag to resize
SKUInfoProviderRecalculateProductDocumentsInternal Method
Recalculate prices in fields of all product documents which are mapped to SKU price field. This method is invoked in case of changing main currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual void RecalculateProductDocumentsInternal(
	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 for View_CMS_Tree_Joined filtering
siteId
Type: SystemInt32
Id of the site which main currency was changed (0 for global main currency changed)
See Also