Click or drag to resize
EcommerceTransformationFunctionsGetSKUOriginalPrice Method
Returns SKURetailPrice or price before discounts if saving is bigger. Returns zero if price saving is zero.

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
Syntax
C#
public static double GetSKUOriginalPrice(
	SKUInfo sku,
	bool taxes
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
Product to calculate original price for.
taxes
Type: SystemBoolean
Indicates whether original price is returned including taxes.

Return Value

Type: Double
See Also