magenable / module-popup

magenable/module-popup

A Magento 2 popup module with newsletter feature

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

Magenable Popup

Magenable Popup is a Magento 2/Adobe Commerce module that adds a popup to website pages. The content for the popup is sourced from a selected CMS Block. Additionally, the module offers the option to include a newsletter subscription feature in the popup window. Google ReCaptcha v2 and v3 are supported.

[image: image]

Installation

Composer:

Run the following command in Magento 2 root folder

composer require magenable/module-popup
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy

Upgrade

Composer:

Run the following command in Magento 2 root folder

composer update magenable/module-popup
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy

User Guide

Configuration:

Go to Stores > Settings > Configuration > Magenable Extensions > Popup.

General

  • Enabled - Enable or Disable the popup
  • Title - Title of the popup
  • CMS Block - You can select a CMS Block for the popup content
  • Button Text - Newsletter subscription button text
  • Popup Delay - You can specify number of seconds when popup should arise

Visibility

  • Visibility Type - Choose to show the popup on all pages, excluding specified pages, or only show the popup on specified pages
  • Pages - Specify the URLs of the pages (without the base URL) based on the previous configuration

Newsletter Subscription

  • Add Newsletter Subscription Form - You can add a newsletter subscription form to the popup

Design

  • Max Width of Popup - Max width of popup in pixels
  • Button Text Color - Newsletter subscription button color
  • Button Background - Newsletter subscription button background

[image: image]

Note: Magento Google Recaptha implementation has a bug that breaks a big rendering aroun Newsletter box. It affects alignment of Newsletter pop-up.

Compatibility

Tested with Magento Open Source 2.4.4 - 2.4.7, but will probably work with older Magento 2.X versions and Adobe Commerce

About developer

The extension is developed by Magenable (https://magenable.com.au), eCommerce consultancy specializing in Magento/Adobe Commerce based in Melbourne, Australia

1.0.7 (2026-06-16)

  • Tested with Magento v2.4.9 and PHP 8.5

1.0.6 (2025-07-04)

  • Tested with Magento v2.4.8-p1

1.0.5 (2025-03-10)

  • Tested with Magento v2.4.8

1.0.4 (2024-12-19)

  • Tested on Magento v2.4.4-p11, v2.4.5-p10, v2.4.6-p8 and v2.4.7-p3

1.0.3 (2024-08-23)

  • Tested with Magento v2.4.6-p7 and v2.4.7-p2

1.0.2 (2024-04-10)

  • Tested with Magento 2.4.7 and PHP 8.3

1.0.1 (2024-03-11)

  • Tested with Magento 2.4.6-p4
  • Added change-log.txt
  • Fixed knockout closing tags
  • Fixed the php 7 compatibility issues
Versions
Version Stability QA Status Compatibility Released
1.0.7 stable Fail Magento 2.4.7-2.4.9 Details 2026-06-16 05:21:29
1.0.6 stable Not tested Not yet tested Details 2025-07-04 08:27:54
1.0.4 stable Not tested Not yet tested Details 2024-12-19 10:26:54
1.0.3 stable Not tested Not yet tested Details 2024-08-23 06:29:52
1.0.2 stable Not tested Not yet tested Details 2024-04-16 02:28:19
1.0.1 stable Not tested Not yet tested Details 2023-09-27 08:08:18
1.0.0 stable Not tested Not yet tested Details 2023-09-11 04:43:39

Requires 2

Package Constraint
magenable/module-base *
magento/framework >=102.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 Pass
2.4.9 Pass Pass

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 Warning 24 24 warnings (ruleset: Magento2) — 2 auto-fixable with phpcbf
PHPMD Warning 3 3 rule violations (UnusedFormalParameter:2, EmptyCatchBlock:1)
Cpd Pass 0
Composer validate Info 3 valid; 3 advisory notes (composer validate --strict)

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.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 3 3
2.4.8 3 3
2.4.9 3 3

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
  • Magenable

More from magenable

View vendor
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.