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

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

Parameters

price
Type: SystemDouble
Price to which the exchange rate should be applied
forGlobalItems
Type: SystemBoolean
True - exchange rate for global items is used (price is expected in global main currency), False - exchange rate for site items is used (price is expected in site main currency).

Return Value

Type: Double
See Also