magerahul/module-currencyconverter

这是一个magento 2模块,提供使用自定义货币转换API的功能。

1.0.0 2022-02-14 18:53 UTC

This package is auto-updated.

Last update: 2024-09-15 00:40:10 UTC


README

``composer require magerahul/module-currencyconverter``

主要功能

这是一个magento 2模块,提供集成免费货币转换API(freecurrencyapi.net)的功能。

安装

* = 在生产环境中请使用 --keep-generated 选项

类型1:Zip文件

  • 将zip文件解压到 app/code/MageRahul
  • 通过运行 php bin/magento module:enable MageRahul_CurrencyConverter 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型2:Composer

  • 将模块添加到composer仓库,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 公共GitHub仓库作为vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将composer仓库添加到配置
  • 通过运行 composer require magerahul/module-currencyconverter 安装模块composer
  • 通过运行 php bin/magento module:enable MageRahul_CurrencyConverter 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

  • API密钥(currency/freecurrencyapi/api_key)

  • 连接超时(以秒为单位)(currency/freecurrencyapi/timeout)

规格

属性