ShoppingCartInfoApplyExchangeRate Method (Double, Boolean) |
Returns price in shopping cart currency.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax 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:
DoubleSee Also