spaggel / tooltip

spaggel/tooltip

Product attribute tooltips module for Magento 2

magento2-module Compatibility: 2.4.7 Code Quality: Fail Tests: N/A Security: Pass MIT

Magento 2 Product Attribute Tooltips

downloads

This module adds support for tooltips on product attributes.

Version 1.2.0 and above of this module will only support Magento 2.4. For Magento versions below 2.4,
please use versions older than 1.2.0 of this module.

Support me

You can support my work by buying me a coffee 😀

Buy Me A Coffee

Install

Run composer require spaggel/tooltip to install the latest release.

Functionality

Support for tooltips on:

  • Product attributes table (product view page)
  • Configurable swatches (product view page)

Demo

Frontend demo: here (currently offline)

Screenshots

Product information:

Closed:

tooltip closed

Opened:

tooltip open

Configurable product swatch:

Closed:

swatch closed

Opened:

swatch open

Todo:

Add support for:

  • Layered navigation attributes
  • CMS variables (e.g. {{store url}}) Work in progress
  • ??

How to use

More info can be found in the Wiki.

Technical info

I wrote some technical stuff about the module and how it works: here.

Credits

This module is using the MIT License

Contributing

Feel free to create an issue or submit a pull request. I'll do the best I can to help you.

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
1.2.4 stable Fail Magento 2.4.7 Details 2024-11-04 15:11:38
1.2.3 stable Not tested Not yet tested Details 2024-09-06 12:32:18
1.2.2 stable Not tested Not yet tested Details 2022-06-20 12:22:53
1.2.1 stable Not tested Not yet tested Details 2021-11-04 08:44:54
1.2.0 stable Not tested Not yet tested Details 2020-11-27 11:04:48
1.1.2 stable Not tested Not yet tested Details 2020-03-10 13:11:04
1.1.1 stable Not tested Not yet tested Details 2020-03-09 22:33:46
1.0.1 stable Not tested Not yet tested Details 2020-02-27 14:08:39
1.0.0 stable Not tested Not yet tested Details 2019-12-19 15:30:32
0.1.6 stable Not tested Not yet tested Details 2019-12-13 14:01:14
0.1.5 stable Not tested Not yet tested Details 2018-07-01 09:01:37
0.1.4 stable Not tested Not yet tested Details 2018-03-07 09:04:26
0.1.3 stable Not tested Not yet tested Details 2018-03-03 18:04:54
0.1.2 stable Not tested Not yet tested Details 2018-03-03 15:44:02
0.1.1 stable Not tested Not yet tested Details 2018-02-20 15:19:47

Requires 6

Package Constraint
magento/framework ~103.0
magento/module-backend ~102.0
magento/module-catalog ~104.0
magento/module-store ~101.0
magento/module-ui ~101.2
php ~7.3.0||~7.4.0||~8.1.0||~8.2.0||~8.3.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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass not tested
2.4.9 not tested not tested

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.

Static analysis results
Tool Status Findings Summary
PHPCS Fail 19 2 errors, 17 warnings (ruleset: Magento2) — 15 auto-fixable with phpcbf
PHPMD Warning 4 4 rule violations (UnusedFormalParameter:4)
Cpd Pass 0
Composer validate Pass 0

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.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 4 4
2.4.8 4 N/A
2.4.9 N/A N/A

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

Unit tests results by Magento and PHP version
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

Integration tests results by Magento and PHP version
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.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
MIT
Authors
Make it pay

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.