-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Magento Version: 2.3.5
Plugin Version: 1.1.3
Good afternoon,
I have spent a good amount of time trying to get a custom currency to run at install time following the instructions in the README. I edit the di.xml file to include:
<type name="EcommPro\CustomCurrency\Model\Config"><arguments><argument name="currencies" xsi:type="array"><item name=“EXAMPLE” xsi:type="array"><item name="code" xsi:type="string">EXAMPLE</item><item name="singular" xsi:type="string">Example</item><item name="plural" xsi:type="string">Examples</item></item></argument></arguments></type>
After that, I have tried all of the following, but none of them cause the currency to show in the currency config screen or the ecom custom currency screen.
bin/magento cache:cleanbin/magento cache:flushbin/magento setup:upgradebin/magento setup:di:compile- deleting the changed generated files in the
/generatedfolder
I am able to run bin/magento dev:di:info "EcommPro\CustomCurrency\Model\Config" and see the example json as the value of currences, but nothing is changing in the UI.
I'm not a php expert, but I saw that this commit removed reference the currencies variable, maybe that is the issue? Any help to get this working is appreciated. Thanks!