Units is a plugin that can convert between any units of measure, and comes with a Field for content authors to use.
This plugin requires Craft CMS 4.0.0 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require nystudio107/craft-units
-
Install the plugin via
./craft install/plugin units
via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Units.
You can also install Units via the Plugin Store in the Craft Control Panel.
Click here -> Units Documentation
Some things to do, and ideas for potential features:
- Add the ability to control what units appear in the list (because who uses yottameters?)
Brought to you by nystudio107