Skip to content

valicm/commerce_currencies_price

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

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:

About

Multi price field, it allows to enter prices for all currencies inside one field.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages