Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valicm/commerce_currencies_price
Multi price field, it allows to enter prices for all currencies inside one field.
https://github.com/valicm/commerce_currencies_price
commerce currency-prices drupal drupal-8 drupal-commerce drupal-module
Last synced: 5 days ago
JSON representation
Multi price field, it allows to enter prices for all currencies inside one field.
- Host: GitHub
- URL: https://github.com/valicm/commerce_currencies_price
- Owner: valicm
- Created: 2018-11-11T16:50:41.000Z (about 6 years ago)
- Default Branch: 2.0.x
- Last Pushed: 2024-10-20T18:43:23.000Z (2 months ago)
- Last Synced: 2024-12-23T06:19:19.689Z (11 days ago)
- Topics: commerce, currency-prices, drupal, drupal-8, drupal-commerce, drupal-module
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CONTENTS OF THIS FILE
---------------------* Introduction
* Requirements
* Installation
* Configuration
* MaintainersINTRODUCTION
------------Field type based on commerce price field and currency entity.
It allows to enter prices for all currencies inside one field,
instead of creating per currency field. Data are serialized
with this field.You have available method $entity->field_name->toPrices() to get list of
all currencies price.Useful for cases when you need to save prices but not necessarily utilizing
querying by currency prices or resolving them.REQUIREMENTS
------------
* Contributed module Commerce 2 - `composer require drupal/commerce`INSTALLATION
------------* Standard
CONFIGURATION
-------------* None
MAINTAINERS
-----------The 8.x-1.x branch was created by:
* Valentino Medimorec (valic) - https://www.drupal.org/u/valic