EcommerceTransformationFunctions GetSKUPriceSaving Method Kentico 8.0 API Reference
Returns amount of saved money based on the difference between product seller price and product retail price or price before discount.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

sku
Type: CMS.Ecommerce SKUInfo
SKU to calculate saving for
discounts
Type: OnlineSystem Boolean
Indicates if discounts should be applied to the seller price before the saved amount is calculated
taxes
Type: OnlineSystem Boolean
Indicates if taxes should be applied to both retail price and seller price before the saved amount is calculated
column1
Type: OnlineSystem String
Name of the column from which the seller price is retrieved, if empty SKUPrice column is used
column2
Type: OnlineSystem String
Name of the column from which the retail price is retrieved, if empty SKURetailPrice column is used
percentage
Type: OnlineSystem Boolean
True - result is percentage, False - result is in the current currency

Return Value

Type: OnlineDouble
See Also