Skip to content

PHOENIX-MEDIA/AttributeUnits

 
 

Repository files navigation

AttributeUnits

Software License Build Status Coverage Status

A simple Magento 2 module that adds the text field Attribute unit and Attribute Decimal Places to the tab Storefront Properties of Attribute Information in the admin area. The content of those text fields will be added after the formated value of the attribute, when this attribute is rendered in frontend. For example the value 12345.6 with the unit mm and decimal places 3 will be rendered to 12.345,600 mm in german stores or 12,345.600 mm in english stores.

Install

  • Add the repository to the repositories section of your composer.json file
 "repositories": [
    {
        "type": "vcs",
        "url": "git@github.com:PartBerlin/AttributeUnits.git"
    }
 ],
  • Require the module & install
 composer require partberlin/module-attributeunits:dev-master

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email info@part-online.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Attribute units for Magento2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%