I have a fresh Magento 2 setup in my system. I want to add custom currency for my store. I have been following the reference link to add it but I didn't get the result from it.
Here is the code:
<currency type="ZZZ"> <displayName>Custom Currency</displayName> <displayName count="one">Custom Currency</displayName> <displayName count="other">Custom Currency</displayName> </currency>
I added to the $_allowedCurrencies array:
'ZZZ', /*Custom Currency*/
<currency type="ZZZ"> <symbol alt="narrow">CC</symbol> </currency>
<region iso3166="150"><!-- Europe --> <currency iso4217="EUR" from="1999-01-01"/> <currency iso4217="ZZZ" from="2011-04-01"/> </region>
And in the same file I added to the section
<info iso4217="ZZZ" digits="2" rounding="0"/>
I refreshed and flushed all caches and the cache container several times and deleted all files in var/cache manually, but the new currency will not appear in the "Allowed Currencies" or the other dropdowns.
Can someone please help me with this?