yireo / magento2-salesblock2-by-email
基于邮箱匹配的交易区块
2.2.1
2024-04-09 14:11 UTC
Requires
- magento/module-customer: ^101.0|^102.0|^103.0
- magento/module-quote: ^101.0
- yireo/magento2-salesblock2: ^2.2
This package is auto-updated.
Last update: 2024-09-09 15:00:49 UTC
README
此模块是 Yireo_SalesBlock2 扩展的辅助模块,允许您根据在 Magento 管理面板中定义的特定规则阻止订单提交。
此特定模块允许您通过特定的邮箱地址进行匹配。当添加一个单词来匹配邮箱地址时,匹配不区分大小写且不考虑位置。例如,当使用邮箱地址 info@example.org
下订单时,以下匹配将会被找到:
info@
example.org
@example.org
Example
安装
要安装此模块,请使用以下命令。首先,使用 composer 安装此模块。注意,如果尚未安装 Yireo_SalesBlock2
,则此步骤将失败。
composer require yireo/magento2-salesblock2-by-email
通过 composer 安装此模块后,您可以启用它
./bin/magento module:enable Yireo_SalesBlock2ByEmail
无需执行其他步骤。 Yireo_SalesBlock2
模块会自动处理相关事务。