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
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.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