Skip to content
Adding Iranian Toman to magento 2
Branch: master
Clone or download
Pull request Compare This branch is 8 commits ahead, 3 commits behind aminlatif:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Model
etc
.gitattributes
.gitignore
README.md
composer.json
registration.php

README.md

Mehran_Toman

Adding Iranian Toman to magento 2

  • Magento 2 uses PHP ICUData for currency values so adding a new currency to Magento 2 is not that easy.
  • This module is using custom resource files to add a new currecny to Magento 2.
  • I've added Iranian Toman to Magento 2 by this module but any custom currency (such as bitcoin, etc) can be added using the same method.

Install:

1. composer require mehran/toman 1.0.0
2. php bin/magento setup:upgrade
3. php bin/magento setup:di:compile
You can’t perform that action at this time.