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

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

Parameters

price
Type: System.Double
Price to which the shopping cart exchange rate should be applied
forGlobalItems
Type: System.Boolean
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