EcommerceTransformationFunctionsGetSKUOriginalPrice Method |
Returns SKURetailPrice or price before discounts if saving is bigger.
Returns zero if price saving is zero.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax 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:
DoubleSee Also