Click or drag to resize
ShoppingCartItemInfoApplyExchangeRate Method (Double, Boolean)
Returns price in shopping cart currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public double ApplyExchangeRate(
	double price,
	bool forGlobalItems
)

Parameters

price
Type: SystemDouble
Price to which the shopping cart exchange rate should be applied
forGlobalItems
Type: SystemBoolean
True - shopping cart exchange rate for global items is used, False - shopping cart exchange rate for site items is used

Return Value

Type: Double
See Also