dnafactory/mage2-currency

允许在 Magento 中移动货币的模块

安装: 443

依赖项: 0

建议者: 0

安全: 0

星级: 0

关注者: 2

分支: 0

开放问题: 0

类型:magento2-module

1.2.1 2021-05-21 08:30 UTC

This package is auto-updated.

Last update: 2024-09-21 15:35:16 UTC


README

#货币

使用此模块,可以通过以下方式在 di.xml 中管理货币的位置

<type name="DNAFactory\Currency\Config\Currency">
    <arguments>
        <argument name="currenciesPositions" xsi:type="array">
            <item name="EUR" xsi:type="const">\Magento\Framework\Currency::RIGHT</item>
            <item name="USD" xsi:type="const">\Magento\Framework\Currency::LEFT</item>
        </argument>
    </arguments>
</type>

存在 dnafactory/currency/position 的配置,它确定所有未在 di 中定义的货币的默认位置