Click or drag to resize
ICatalogPriceCalculatorGetAdjustment Method
Returns a price adjustment corresponding to option when bought with a parent.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
decimal GetAdjustment(
	SKUInfo option,
	SKUInfo parent,
	ShoppingCartInfo cart
)

Parameters

option
Type: CMS.EcommerceSKUInfo
A product option.
parent
Type: CMS.EcommerceSKUInfo
A product or a product variant.
cart
Type: CMS.EcommerceShoppingCartInfo
A shopping cart providing context of calculation.

Return Value

Type: Decimal
Exceptions
ExceptionCondition
ArgumentNullExceptionoption, parent or cart is null.
See Also