ytec/rule-eligibility-check
Composer 安装命令:
composer require ytec/rule-eligibility-check
包简介
Rule eligibility checker for Magento 2
关键字:
README 文档
README
Ytec Rule Eligibility Check for Magento 2
Introduction
Welcome to Ytec Rule Eligibility Check for Magento 2. This module is a masterpiece coming straight from the magical city of Porto, meticulously engineered by Ytec, a company of Matheus da Costa Marqui. It simplifies rule eligibility checks to an unprecedented level. 😎
Features
- Date Validation: Validate whether the rule's date range is applicable.
- Item Actions Validation: Validate cart items against rule actions.
- Rule Conditions Validation: Validate rule conditions against the entire cart.
- Shipping Address Validation: Validate shipping addresses against rule conditions.
Prerequisites
- PHP 7.4 or higher
- Magento 2.4.x
Installation
- Run
composer require ytec/rule-eligibility-checkin your Magento root directory. - Execute
bin/magento setup:upgrade. - Clear the cache by running
bin/magento cache:cleanandbin/magento cache:flush.
How to Use
Finding the Module in Admin
- Login to your Magento Admin Panel.
- Navigate through
Marketing > Promotions > Cart Price Rules. - Once you're inside, look for a new field labeled
Customer Id to test rule eligibility.
Using the Module
- Input Customer ID: Enter the customer ID you want to test for eligibility in the aforementioned field.
- Press Validate: A button labeled "Validate" should appear next to the input field. Click it.
- Check Result: Upon pressing validate, you'll either see a success or an error message.
- Success Message: "Oohah. The customer can benefit of this rule!"
- Error Message: "Oops. The customer is not eligible for this rule!"
Dependencies
This module depends on the following Magento 2 modules:
Magento_SalesRuleMagento_Quote
License
This module is open-source but all credits belong to Ytec, a company of Matheus da Costa Marqui. For the full license, please refer to the LICENSE.md file.
Support and Contribution
For bugs, issues or feature requests, please open an issue on the repository or send an email to matheus.701@live.com for more personalized assistance.
Copyright (c) 2023 Ytec, a company of Matheus da Costa Marqui (matheus.701@live.com)
ytec/rule-eligibility-check 适用场景与选型建议
ytec/rule-eligibility-check 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.56k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 10 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「module」 「customer」 「validation」 「extension」 「magento」 「promotions」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ytec/rule-eligibility-check 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ytec/rule-eligibility-check 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ytec/rule-eligibility-check 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Customer handling for PHP applications.
Customers management for Symfony projects.
Adds request-parameter validation to the SLIM 3.x PHP framework
A jQuery augmented PHP library for creating and validating HTML forms
A Laravel validator for delimiter-separated list of emails.
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 1.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-15