Download the PHP
package ytec/rule-eligibility-check without Composer
On this page you can find all versions of the php package
ytec/rule-eligibility-check. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Informations about the package rule-eligibility-check
![Magenot 2 Rule Eligibility Check for Magento 2](https://i.imgur.com/d8QEHRb.png)
# Ytec Rule Eligibility Check for Magento 2
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-check in your Magento root directory.
Execute bin/magento setup:upgrade.
Clear the cache by running bin/magento cache:clean and bin/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_SalesRule
Magento_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 [email protected] for more personalized assistance.
Copyright (c) 2023 Ytec, a company of Matheus da Costa Marqui ([email protected])
All versions of rule-eligibility-check with dependencies
Requiresphp Version
>=7.4 ytec/base Version
>=1.0.0
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package ytec/rule-eligibility-check contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.