Multi-currency
The purpose of this section is to introduce and describe the multi-currency feature available in Exponential 3.8. People previously unfamiliar with Exponential webshop subsystem should read the "Webshop" section of the "Concepts and basics" chapter first. The next sections will help you to understand the following issues:
- The concept of custom prices and auto prices
- What the base custom price is
- How to specify your own price rounding criteria for auto prices
- How the currency rates can be used (auto rates and custom rates)
- What the base currency is
- How to manage your currencies
- What the preferred currency is
- How to use additional view templates for multi-price products
- The purpose of the "Products overview" interface
- How to use the default exchange rates update handler
- How to create your own handler for rates updating
- How to convert all your products to multi-price format
In this section
- Custom prices and auto prices The multi-price datatype allows you to set prices in multiple currencies for each product. If you use for example five currencies then a product will always have five prices. However, you don't have to enter all these prices manually although it is possible. It is required that you specify at least
- Rounding auto prices The price rounding process is affected by settings which are specified in the "[MathSettings]" section of the "settings/shop.ini" configuration file such as:
- Currency rates There are two types of currency rates:
- Creating a new currency The administration interface allows you to add new currencies to the webshop system. Let's say that you already have three currencies (USD, UAH and NOK) and you wish to add another one (EUR). The following example demonstrates how to add EUR when you already have USD, UAH, NOK.
- Editing a currency The administration interface allows you to edit currencies. The following text reveals how this can be done.
- Removing a currency It is possible (but not recommended) to remove currencies from the webshop system. If you need to hide some currency from your customers, you should set its status to "inactive" instead of removing it from the system.
- Preferred currency A user can select one of the active currencies as "preferred currency". The system will then use this currency for the user. This can be done by requesting "shop/preferredcurrency" in the URL, choosing the desired currency from drop-down list and clicking the "Set" button. There is an additional pos
- Multi-price products An actual product is represented by a content object (with at least one node assignment) that contains information about the product itself along with a price. The price can be represented by an attribute that makes use of the built-in price or multi-price datatype. These are special datatypes which
- Products overview A user/administrator can view all products grouped by class and sorted either by price or name by requesting "shop/productsoverview" in the URL. Site administrators can also access this interface by clicking the "Webshop" tab and selecting the "Products overview" link on the left.
- Exchange rates update handlers The exchange rates update handlers make it possible to retrieve the latest exchange rates from external sources and thus update the auto rates. You should specify the desired handler in the "ExchangeRatesUpdateHandler" setting described in the next subsection, otherwise the system will not be able t
- Upgrading your webshop If you have just upgraded your Exponential installation in order to start using multiple currencies, you will need to create currencies and convert all your products to multi-price format using the "convertprice2multiprice.php" script located in the "bin/php/" directory. Please note that you should
Contributors
- Svitlana Shatokhina Updated Commenter
Comments
Add a comment