monsoonconsulting / magento2-hyva-ajax-add-to-cart
monsoonconsulting/magento2-hyva-ajax-add-to-cart
Adds Ajax Add to Cart functionality to Hyva themes
Hyvä Ajax AddToCart
Summary
Adds Ajax Add to Cart functionality to Hyvä themes.
Installation
composer require monsoonconsulting/magento2-hyva-ajax-add-to-cart
Configuration
To configure the module go to Stores > Configuration > Sales > Checkout > Enable AJAX Add to Cart.

Preview
Changelog
[1.2.4] 2026-02-11
Added
- Add compatibility with PHP 8.4
[1.2.3] 2024-28-05
Added
- Added PHP 8.3 requirement
[1.2.2] 2024-12-01
Fix
- Issue with variable
[1.2.1] 2024-12-01
Added
- Ability for cart to open after add to cart
- Follow backUrl
[1.2.0] 2023-24-11
Added
- Allow selectors to be changed in admin
Changed
- Updated PHP code for 8.1/8.2
- Optimised code for
addtocart.phtmlfile (newer methods)
Fixed
- Issue with product being added twice on cart page
Removed
- Support for 7.4
[1.1.3] 2023-20-06
Added
- Added PHP 8.2 requirement
Fix
- Fix issue with editing product
[1.1.2] 2022-10-10
Fix
- Fix issue with editing product
[1.1.1] 2022-03-08
Fix
- Stop button click while loading
Added
- Added ability to set delay in backend
[1.1.0] 2022-22-04
Added
- Add Admin Config Controls
[1.0.0] 2022-22-04
Added
- Basic files
- Configuration
- FE templates
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.2.4 | stable | Fail | Magento 2.4.7-2.4.8 Details | 2026-02-11 15:44:45 |
| 1.2.3 | stable | Not tested | Not yet tested Details | 2024-05-28 14:49:22 |
| 1.2.2 | stable | Not tested | Not yet tested Details | 2024-01-12 18:51:19 |
| 1.2.1 | stable | Not tested | Not yet tested Details | 2024-01-12 16:15:26 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2023-11-24 14:58:41 |
| 1.1.3 | stable | Not tested | Not yet tested Details | 2023-06-20 14:23:03 |
| 1.1.2 | stable | Not tested | Not yet tested Details | 2022-10-10 09:44:21 |
| 1.1.1 | stable | Not tested | Not yet tested Details | 2022-08-03 07:52:13 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2022-04-22 13:48:48 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2022-04-22 10:11:09 |
Requires 1
| Package | Constraint |
|---|---|
| php | ~8.1.0|~8.2.0|~8.3.0|~8.4.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.