Drupal is a registered trademark of Dries Buytaert

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'

Activity

Total releases
3
First release
Jan 2025
Latest release
1 year ago
Release cadence
14 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
2.0.5 Stable Feb 20, 2025
2.0.4 Stable Feb 5, 2025
2.0.3 Stable Jan 23, 2025