How to use Sylius import importer for customized currencies?

I have several currency settings with my installation of Sylius (v0.14), and I have added the api key to my .yml parameters for open exchange rates.

When you run the console command:

./app/console sylius:currency:import openexchangerates 

I see that the exchange rates for my currencies are added to the table with the name "sylius_exchange_rate", however the site itself (administration area and interface) uses the exchange rate set in the field of the "sylius_currency" table "exchange_rate".

Is this done specifically so that I can independently control the import of exchange rates (for example, change the console command to import bids into the sylius_currency table), or is this just missing logic?

I can not find documentation about this.

thanks

+4
1

, Sylius (github commit).

v0.14 , : sylius: :

+1

Source: https://habr.com/ru/post/1613185/


All Articles