amasty / module-mage-248-fix
amasty/module-mage-248-fix
Fix several issues on Magento 2.4.8 version by Amasty
Magento 2.4.8 Issues Fix Module
Overview
This module is required to address several specific issues in Magento 2.4.8:
-
#39817: Ignored .less styles with
min-width: (@screen__l). - #39806: Store switcher not working (page served from cache after store switch).
- #39831: Calendar popup opens over display.
- #39847: Table prefix is not taken into account.
By resolving these issues, the module ensures a smoother and more reliable Magento 2.4.8 experience for both administrators and end-users.
Issue Details
Issue #39817: Ignored .less Styles with min-width: (@screen__l)
This issue occurs when Magento 2.4.8 ignores styles defined in .less files with the media query min-width: (@screen__l).
As a result, certain responsive styles are not applied, leading to inconsistent or broken layouts on larger screens.
Issue #39806: Store Switcher Not Working (Page Served from Cache)
This issue arises when switching between stores using the store switcher functionality. Instead of loading fresh content for the selected store, Magento serves the page from the cache, displaying outdated or incorrect content.
Issue #39831: Calendar popup opens over display
Datepicker calendar popup may open over display or in wrong position after scrolling the page.
Issue #39847: Table prefix is not taken into account
If you are using a table prefix, there will be an error on the theme change page because the table prefix is not taken into account. Fixed missing table prefix usage.
Installation
Option 1: Installation via Composer (Recommended)
- Open your terminal and navigate to the root directory of your Magento 2.4.8 installation.
- Run the following command to install the module:
composer require amasty/module-mage-248-fix -W - Enable the module by running:
php bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento cache:flush
Option 2: Manual Installation
- Download the module files from the repository.
- Place the module files in the
app/code/Amasty/Mage248Fixdirectory of your Magento 2 installation. - Run the following commands to enable the module:
composer require wikimedia/less.php:^5.3.1php bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento cache:flush
Cloud environment
In the Magento Cloud environment, the file system is read-only.
Therefore, you need to manually replace the file
[magento-root-folder]/lib/web/css/source/lib/_responsive.less
with the one provided by the module:
[Amasty_Mage248Fix]/lib/web/css/source/lib/_responsive.less,
before pushing your changes to the branch.
Requirenements
This module require:
- Magento 2.4.8 version
- Amasty Base module exists
- wikimedia/less.php:^5.3.1
Configuration
No additional configuration is required. The module automatically applies the fixes upon installation and activation.
The issues above partially break the functionality of Amasty modules; however, they can be reproduced without our modules being installed and may generate problems on a clean Magento instance. This is why we made this package public.
This package is required for the proper functioning of the following Amasty extensions:
-> Layered Navigation for Magento 2-> Advanced Product Reviews for Magento 2
-> Advanced Reports for Magento 2
-> Advanced Search for Magento 2
-> AJAX Shopping Cart for Magento 2
-> Automatic Related Products for Magento 2
-> Blog Pro for Magento 2
-> B2B Company Account for Magento 2
-> Custom Form for Magento 2
-> Customer Group Auto Assign for Magento 2
-> Free Gift for Magento 2
-> Full Page Cache Warmer for Magento 2
-> GDPR Pro for Magento 2
-> Cookie Consent (GDPR) for Magento 2
-> Improved Layered Navigation for Magento 2
-> Landing Pages for Magento 2
-> Multiple Wishlist for Magento 2
-> One Step Checkout Pro for Magento 2
-> Out of Stock Notification for Magento 2
-> Product Tabs for Magento 2
-> Quick Order for Magento 2
-> Request a Quote for Magento 2
-> Shipping Cost Calculator for Magento 2
-> Shop by Brand for Magento 2
-> Special Promotions for Magento 2
-> Store Pickup for Magento 2
-> Subscriptions & Recurring Payments for Magento 2
-> Color Swatches Pro for Magento 2
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.0.6 | stable | Pass | Not yet tested Details | 2026-01-19 09:22:58 |
| 1.0.5 | stable | Not tested | Not yet tested Details | 2025-10-15 15:45:13 |
| 1.0.4 | stable | Not tested | Not yet tested Details | 2025-08-13 11:32:57 |
| 1.0.3 | stable | Not tested | Not yet tested Details | 2025-06-11 13:05:14 |
| 1.0.2 | stable | Not tested | Not yet tested Details | 2025-05-06 11:52:13 |
| 1.0.1 | stable | Not tested | Not yet tested Details | 2025-04-22 12:31:41 |
| 1.0.0 | stable | Not tested | Not yet tested Details | 2025-04-17 13:31:25 |
Requires 4
| Package | Constraint |
|---|---|
| php | >=8.1 |
| amasty/base | >=1.21.1 |
| magento/framework | ~103.0.8.0 |
| wikimedia/less.php | ^5.3.1 |
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.
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | not tested | not tested | ||
| 2.4.8 | not tested | 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.
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.