This module provides a field type for entering prices in multiple currencies within a single field. It allows you to store various currency values for a single item, rather than needing separate fields for each currency.
Field type based on commerce price field and currency.
It allows entering prices for all currencies inside one field, instead of creating per currency field. Data are serialized.
To get array, use $entity->field_name->prices
To get first value array of Price objects use $entity->field_name->get(0)->prices
Field type does not have limit on cardinality
Useful for cases when you need to save prices but not necessarily utilizing
querying by currency prices or resolving them.
Planned feature:
Integration with multicurrency module -> commerce_currency_resolver
D9 use 2.0 version, last compatible composer require 'drupal/commerce_currencies_price:2.0'