Click or drag to resize
ShoppingCartItemInfoProviderCalculateSubtotalTaxInternal Method
Calculates the subtotal of a single tax which is applied to all shopping cart item units altogether. Result is in site main currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual double CalculateSubtotalTaxInternal(
	ShoppingCartItemInfo item,
	IItemTax tax,
	double unitTax
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item
tax
Type: CMS.EcommerceIItemTax
Data of the tax which was used for unit tax calculation
unitTax
Type: SystemDouble
Calculated unit tax

Return Value

Type: Double
See Also