This package implements modules to perform currency conversion for site visitors. It is typically used in online stores. Actual conversion services are provided by http://openexchangerates.org/. You need to set up an account to use their service. Only one account is needed to provide conversion services for all sites in one instance of YetaWF.
The Currency Converter module retrieves the conversion data from http://openexchangerates.org/ once every 5 minutes. If the module is not used, the data is not retrieved. In other words, the data retrieved is cached, retrieved as needed, and only in 5 minute intervals. This means that this module will at most generate 18000 retrieval requests per month. On development systems (debug builds), data is cached for 8 hours resulting in at most 180 requests per month. That means you can sign up for their free service for site development at https://openexchangerates.org/signup/free.
Currency Converter Module
Currency conversion for site visitors.
A test page for the Currency Converter Module can be accessed using Tests > Currency Converter (). You need to set up an account to use the service provided by http://openexchangerates.org/. A free service for site development is available at https://openexchangerates.org/signup/free.
This module, implemented by class YetaWF.Modules.CurrencyConverter.Modules.CurrencyConverterModule, has a published ModuleGuid("d1b33e01-7acd-4f0e-a128-5101dd59e085").
|CurrencyConverter(string url, decimal amount = 0.0M)||Returns a ModuleAction used to display the currency conversion form. url defines the designed page used to display the currency conversion form, may be null. The designed page must contain a Currency Converter Module.|
ModuleDefinition modCurrencyCvt = ModuleDefinition.Load(new Guid("d1b33e01-7acd-4f0e-a128-5101dd59e085"), AllowNone: true);
if (modCurrencyCvt != null)
model.CurrencyConversion = modCurrencyCvt.GetModuleAction("CurrencyConverter", null, model.Total);
Currency Converter Settings Module
Used to edit the currency converter settings. It is accessible using Admin > Configuration > Currency Converter Settings ().
The YetaWF.CurrencyConverter package is part of YetaWF, an open source product licensed under the GNU General Public License, version 3 (GPL-3.0) - Copyright - Softel vdm, Inc.