Download the PHP package hawksama/hyva-product-rule-notifier without Composer

On this page you can find all versions of the php package hawksama/hyva-product-rule-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

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 hyva-product-rule-notifier

Hyva Product Attribute Notifications for Magento 2

Magento 2 Hyva Compatible License

A dynamic Magento 2 module designed for Hyva Themes that displays targeted notifications in the minicart and cart pages based on product attributes. Perfect for creating urgency, highlighting promotions, and enhancing customer experience.


🌟 Overview

This module empowers merchants to create customizable notification rules that trigger contextual messages (ERROR, WARNING, INFORMATION, SUCCESS) when products with specific attributes are added to the cart. Features include:


🚀 Key Features

Feature Description
4 Notification Types ERROR, WARNING, INFORMATION, SUCCESS with customizable styling
Advanced Attribute Targeting Match attributes by exact value, substring, or numeric comparisons
Time-Based Rules Schedule notifications for specific periods
Multi-Store Ready Configure rules per store view
Frontend Display Notifications in minicart and cart page
Dynamic Updates Notifications in the minicart dynamically update based on cart changes, ensuring users always see relevant information without needing to refresh the page.
Code Quality Passes PHPStan, PHPMD, PHP_CodeSniffer, and more

⚙️ Configuration

  1. Navigate to Admin Panel:
    Hawksama → Product Notifications → Manage Rules
  2. Create New Rule:

    • Define attribute conditions based on your product attributes.
      This module supports two match types:

      • Exact Match: Matches the attribute value exactly.
        • Example: certification = "organic"
          This triggers a notification for products certified as "organic".
      • Substring Match (LIKE): Matches if the attribute value contains the specified substring.
        • Example: description LIKE "recycled"
          This triggers a notification for products with "recycled" anywhere in their description.
      • Numeric Comparisons: Matches based on numeric operators (<, <=, >, >=, ==),
        • Example: stock_status <= 10"
          Triggers a notification when the stock is less than or equal to 10.
    • For Boolean Attributes:
      • Use true or false for attributes stored as boolean values.
      • Supported values:
        • True Values: "1", "true", "on", "yes"
        • False Values: "0", "false", "off", "no"
      • Example:
        • is_backorder = "true" triggers a notification when the product is on backorder.
    • Select notification type and content.
    • Set schedule (optional).
    • Assign to store views.
  3. Frontend Display:
    Notifications automatically appear in the Hyva minicart and cart page.te

🛠 Use Cases

🎯 Promotions & Sales

📦 Inventory Management

🌱 Product Insights

Explore 25+ Advanced Use Cases


📸 Screenshots

Admin Rule Management

GRID View Form View

Frontend Display

Minicart Notifications Cart Page Notifications

🧰 Technical Details

I used https://github.com/Hawksama/docker-magento/blob/master/compose/bin/analyse used to validate code quality and detect potential issues.


❓ FAQ

How are notifications triggered?
When cart items match attribute rules (exact match or partial text).

Can I restrict rules to specific stores?
Yes – multi-store configuration is supported.

What happens if multiple rules apply?
All matching notifications are displayed (ERROR > WARNING > INFO > SUCCESS).

Is Hyva required?
Yes – built specifically for Hyva's AlpineJS framework.


📮 Support & Contribution


💡 Transform your cart experience with contextual, actionable notifications!


All versions of hyva-product-rule-notifier with dependencies

PHP Build Version
Package Version
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 hawksama/hyva-product-rule-notifier contains the following files

Loading the files please wait ....