Click or drag to resize
ShoppingCartItemInfoInvalidateCalculations Method (Boolean, Boolean, Boolean, Boolean)
Invalidates calculated discounts, taxes and prices.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public virtual void InvalidateCalculations(
	bool discounts,
	bool taxes,
	bool discountsTotals,
	bool taxesTotals
)

Parameters

discounts
Type: SystemBoolean
True - Both shopping cart item table with calculated discounts and all discounts totals are cleared.
taxes
Type: SystemBoolean
True - Both shopping cart item table with calculated taxes and all taxes totals are cleared.
discountsTotals
Type: SystemBoolean
True - Only shopping cart item discounts totals are cleared.
taxesTotals
Type: SystemBoolean
True - Only shopping cart item taxes totals are cleared.
See Also