Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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'

Activity

Total releases
3
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

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