SKUInfoProviderGetSKUFormattedPriceInternal Method |
Returns formatted product catalog price based on the SKU data and the shopping cart data.
Discounts and/or taxes are included optionally. Result is in shopping cart currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax protected virtual string GetSKUFormattedPriceInternal(
SKUInfo sku,
ShoppingCartInfo cart,
bool discounts,
bool taxes,
string column
)
Parameters
- sku
- Type: CMS.EcommerceSKUInfo
SKU data - cart
- Type: CMS.EcommerceShoppingCartInfo
Shopping cart data - discounts
- Type: SystemBoolean
True - catalog discounts are applied to the price - taxes
- Type: SystemBoolean
True - catalog taxes are applied to the discounted price - column
- Type: SystemString
Name of the SKU column the price should be retrieved from. If empty, SKUPrice field is used.
Return Value
Type:
StringSee Also