How to indicate data in the element
Example of the
<currencies> <currency id="RUR" rate="1"/> </currencies>
id attribute, enter the code of the main currency:
RUR, RUB — Russian ruble.
UAH — Ukrainian hrivna.
BYN — Belarusian ruble.
- KZT — Kazakhstani tenge.
USD — US dollar.
EUR — Euro.
rate attribute, specify the unit.
Converting exchange rates
Let's say a store specifies Russian rubles as its main currency:
<shop> <!-- elements included in shop --> <currencies> <currency id="RUR" rate="1" /> </currencies> </shop>
offer element, the store enters the price for a product in dollars:
<offer> <!-- elements included in offer --> <currencyId>USD</currencyId> <price>10</price> </offer>
Since a currency other than the store's main currency is specified in
currencyId, Yandex.Market converts the price of the product into Russian rubles at the exchange rate given by the Central Bank of Russia.
The product cost will be displayed to each user in currency of the country where that user lives. That means that when a user views your offer on Yandex.Market from Ukraine, the product cost is converted from rubles into UAH at the rate given by the National Bank of Ukraine. The result is that the price will be displayed in UAH for that user.
Due to the conversion of exchange rates, a price entered as a whole number in one currency may end up being a fractional number in another currency. For example, RUB 100 may be converted to KZT 571.2 (depending on the rate given by the National Bank of Kazakhstan). If you want your prices to be displayed as whole numbers for all buyers, register your store on Yandex.Market for each separate country, then for each store create a price list in the relevant currency containing the prices for your offers.