magenerds/germanlaw
Composer 安装命令:
composer require magenerds/germanlaw
包简介
This module provides general settings for german stores
README 文档
README
This extension provides basic configurations for your Magento store in order to be ready for the german market.
It includes many system configuration settings, tax configuration as well as cms pages for legal information.
It also shows legal notices for shipping costs after every price.
Extension installation
The easiest way to install the Magenerds module is via composer
# add to composer require
composer require magenerds/germanlaw
# run magento setup to activate the module
bin/magento set:up
Extension activation
At any time you can enable and disable this extension in the system configuration.
You can do this by opening the backend menu Stores > Configuration.
There you will find the entry Magenerds > GermanLaw.
After clicking on it you see a dropdown box where you can enable/disable the module. Save the configuration and delete
the cache.
Extension configuration
You can configure the shipping notice either to be displayed after every price directly or in the footer whereas there
ist an asterisk (*) behind every price referencing to the footer.
Go to Stores > Configuration and Magenerds > GermanLaw and then to Price display. There you can choose if you use
the asterisk or not:
You can also define the tax and shipping text being dispayed. Therefore you can use %s in order to define the tax amount
in the text.
For defining the link to the shipping page you can use [ and ] before and after the word you want to use as a link.
Example: Inkl. %s MwSt., zzgl. [Versand] will lead to Inkl. 19% MwSt., zzgl. Versand whereas Versand is the link to
the shipping page.
The last configuration setting is the selected cms page which is the shipping page you want to link to.
Installed CMS Pages
This extension installs 5 cms pages during installation:
- AGB
- Widerrufsbelehrung
- Impressum
- Versandkosten
- Datenschutzbestimmung
The cms pages have dummy content so you should fill them if you use them. The german law says you have to use them :-)
Tax configuration
This extension installs the two german tax rates:
- 7%
- 19%
You can select them if you edit a product in the backend under Product details:
System configuration
This extensions configures the system so that the store is ready for the german market. In detail the settings are as follows:
- Default country: DE
- Locale code: de_DE
- State required: CA,EE,FI,FR,LV,LT,RO,ES,US
- Timezone: Europe/Berlin
- Weight unit: kgs
- Week’s first day: Monday
- Currency: EUR
- Sendfriend: Disabled as not allowed in Germany
- Newsletter subscription confirmation: Enabled
- Create customer account confirmation: Enabled
- Prefix options: Herr;Frau;Firma
- Show middlename: Disabled
- Show price including tax: Enabled
- Show discount including tax: Enabled
- Default country: DE
- Show agreements: Enabled
- Origin country: DE
- Origin postcode: empty
magenerds/germanlaw 适用场景与选型建议
magenerds/germanlaw 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 81.5k 次下载、GitHub Stars 达 21, 最近一次更新时间为 2017 年 02 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 magenerds/germanlaw 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 magenerds/germanlaw 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 81.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2017-02-14


