firegento / magesetup2
MageSetup 为国家市场提供必要的配置(系统配置、税收、协议等)。
v1.2.2
2024-08-08 14:04 UTC
Requires
- php: ~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.0
- magento/framework: >=103.0.3
- magento/module-backend: *
- magento/module-store: *
This package is auto-updated.
Last update: 2024-09-08 14:18:15 UTC
README
MageSetup 为国家市场配置商店。
目前支持的国家包括
- 奥地利 (at)
- 瑞士 (ch)
- 德国 (de)
- 西班牙 (es)
- 法国 (fr)
- 英国 (gb)
- 意大利 (it)
- 荷兰 (nl)
- 波兰 (pl)
- 罗马尼亚 (ro)
- 俄罗斯 (ru)。
更多国家将陆续支持。
如果您的国家尚未支持,请提交一个包含您国家必要配置的 pull request,帮助我们支持更多国家。
要求
- PHP >= 7.3
- Magento >= 2.4.3
如果您使用的是 Magento < 2.4.3,您仍然可以使用版本 0.4.*
。
安装
通过 composer(推荐)
请转到 Magento2 根目录,并在 shell 中运行以下命令
composer require firegento/magesetup2
bin/magento module:enable FireGento_MageSetup
bin/magento setup:upgrade
手动
请创建目录 app/code/FireGento/MageSetup,并将此存储库中的文件复制到创建的目录中。然后,在 shell 中运行以下命令
bin/magento module:enable FireGento_MageSetup
bin/magento setup:upgrade
用法
bin/magento magesetup:setup:run <country_code> <processors>
参数
<country_code>
是必选参数。请在上面的国家列表中查找可用的国家代码(例如,de
代表德国)。<processors>
是可选参数。如果没有提供处理器代码,则将运行所有处理器。
可用处理器
agreements
用于设置条款和条件cms
用于设置所有必需的 CMS 页面和 CMS 块systemConfig
用于设置基本配置值。tax
用于设置基本税则/税率。
示例
为德国运行所有处理器
bin/magento magesetup:setup:run de
只为德国运行 agreements
和 cms
bin/magento magesetup:setup:run de agreements cms
Hyvä Themes
如果您在 Magento 2 实例中使用 Hyvä 作为前端,请安装相应的兼容性模块。您可以在兼容性模块存储库中找到所有详细的安装说明。
支持
如果您遇到任何问题或错误,请在 GitHub 上创建一个问题。
贡献
任何对 MageSetup 开发的贡献都十分欢迎。提供代码的最佳方式是在 GitHub 上打开 pull request。
贡献者 ✨
感谢这些可爱的人们 (emoji key)
此项目遵循 all-contributors 规范。欢迎任何形式的贡献!
开发者
FireGento 团队
- 网站: http://firegento.com
- Twitter: @firegento
维护者
- @sprankhub
- @frostblogNet
- @Schrank
- @therouv
许可证
版权
(c) 2015-2022 FireGento 团队