PHPackages                             amasty/module-mage-248-fix - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. amasty/module-mage-248-fix

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

amasty/module-mage-248-fix
==========================

Fix several issues on Magento 2.4.8 version by Amasty

1.0.6(4mo ago)11138.7k—5%7[3 PRs](https://github.com/AmastyLtd/module-mage-248-fix/pulls)proprietaryPHPPHP &gt;=8.1

Since Apr 17Pushed 4mo ago4 watchersCompare

[ Source](https://github.com/AmastyLtd/module-mage-248-fix)[ Packagist](https://packagist.org/packages/amasty/module-mage-248-fix)[ Docs](https://amasty.com/)[ RSS](/packages/amasty-module-mage-248-fix/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

Magento 2.4.8 Issues Fix Module
===============================

[](#magento-248-issues-fix-module)

Overview
--------

[](#overview)

This module is required to address several specific issues in Magento 2.4.8:

- **[\#39817](https://github.com/magento/magento2/issues/39817)**: Ignored .less styles with `min-width: (@screen__l)`.
- **[\#39806](https://github.com/magento/magento2/issues/39806)**: Store switcher not working (page served from cache after store switch).
- **[\#39831](https://github.com/magento/magento2/issues/39831)**: Calendar popup opens over display.
- **[\#39847](https://github.com/magento/magento2/issues/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-details)

### Issue #39817: Ignored .less Styles with `min-width: (@screen__l)`

[](#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)

[](#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

[](#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

[](#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
------------

[](#installation)

### Option 1: Installation via Composer (Recommended)

[](#option-1-installation-via-composer-recommended)

1. Open your terminal and navigate to the root directory of your Magento 2.4.8 installation.
2. Run the following command to install the module: ```
    composer require amasty/module-mage-248-fix -W
    ```
3. Enable the module by running: ```
    php bin/magento setup:upgrade
    ```

    ```
    php bin/magento setup:di:compile
    ```

    ```
    php bin/magento cache:flush
    ```

### Option 2: Manual Installation

[](#option-2-manual-installation)

1. Download the module files from the repository.
2. Place the module files in the `app/code/Amasty/Mage248Fix` directory of your Magento 2 installation.
3. Run the following commands to enable the module: ```
    composer require wikimedia/less.php:^5.3.1
    ```

    ```
    php bin/magento setup:upgrade
    ```

    ```
    php bin/magento setup:di:compile
    ```

    ```
    php bin/magento cache:flush
    ```

#### Cloud environment

[](#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
--------------

[](#requirenements)

This module require:

- Magento 2.4.8 version
- Amasty Base module exists
- wikimedia/less.php:^5.3.1

Configuration
-------------

[](#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:
---------------------------------------------------------------------------------------

[](#this-package-is-required-for-the-proper-functioning-of-the-following-amasty-extensions)

-&gt; [Layered Navigation for Magento 2](https://amasty.com/lite-layered-navigation-for-magento-2.html)
-&gt; [Advanced Product Reviews for Magento 2](https://amasty.com/advanced-product-reviews-for-magento-2.html)
-&gt; [Advanced Reports for Magento 2](https://amasty.com/advanced-reports-for-magento-2.html)
-&gt; [Advanced Search for Magento 2](https://amasty.com/advanced-search-for-magento-2.html)
-&gt; [AJAX Shopping Cart for Magento 2](https://amasty.com/ajax-shopping-cart-for-magento-2.html)
-&gt; [Automatic Related Products for Magento 2](https://amasty.com/automatic-related-products-for-magento-2.html)
-&gt; [Blog Pro for Magento 2](https://amasty.com/blog-pro-for-magento-2.html)
-&gt; [B2B Company Account for Magento 2](https://amasty.com/b2b-company-account-for-magento-2.html)
-&gt; [Custom Form for Magento 2](https://amasty.com/custom-form-for-magento-2.html)
-&gt; [Customer Group Auto Assign for Magento 2](https://amasty.com/customer-group-auto-assign-for-magento-2.html)
-&gt; [Free Gift for Magento 2](https://amasty.com/free-gift-for-magento-2.html)
-&gt; [Full Page Cache Warmer for Magento 2](https://amasty.com/full-page-cache-warmer-for-magento-2.html)
-&gt; [GDPR Pro for Magento 2](https://amasty.com/gdpr-for-magento-2.html)
-&gt; [Cookie Consent (GDPR) for Magento 2](https://amasty.com/cookie-consent-for-magento-2.html)
-&gt; [Improved Layered Navigation for Magento 2](https://amasty.com/improved-layered-navigation-for-magento-2.html)
-&gt; [Landing Pages for Magento 2](https://amasty.com/landing-pages-for-magento-2.html)
-&gt; [Multiple Wishlist for Magento 2](https://amasty.com/multiple-wishlist-for-magento-2.html)
-&gt; [One Step Checkout Pro for Magento 2](https://amasty.com/one-step-checkout-for-magento-2.html)
-&gt; [Out of Stock Notification for Magento 2](https://amasty.com/out-of-stock-notification-for-magento-2.html)
-&gt; [Product Tabs for Magento 2](https://amasty.com/product-tabs-for-magento-2.html)
-&gt; [Quick Order for Magento 2](https://amasty.com/quick-order-for-magento-2.html)
-&gt; [Request a Quote for Magento 2](https://amasty.com/request-a-quote-for-magento-2.html)
-&gt; [Shipping Cost Calculator for Magento 2](https://amasty.com/shipping-cost-calculator-for-magento-2.html)
-&gt; [Shop by Brand for Magento 2](https://amasty.com/shop-by-brand-for-magento-2.html)
-&gt; [Special Promotions for Magento 2](https://amasty.com/special-promotions-for-magento-2.html)
-&gt; [Store Pickup for Magento 2](https://amasty.com/store-pickup-for-magento-2.html)
-&gt; [Subscriptions &amp; Recurring Payments for Magento 2](https://amasty.com/subscriptions-recurring-payments-for-magento-2.html)
-&gt; [Color Swatches Pro for Magento 2](https://amasty.com/store-pickup-for-magento-2.html)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity43

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~46 days

Recently: every ~64 days

Total

7

Last Release

120d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.4

1.0.6PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/81b5adda572188409349ef32b2a513b46c43de4a9c9c97049975bdb22c3f2832?d=identicon)[AmastyLtd](/maintainers/AmastyLtd)

---

Top Contributors

[![alexey-motorny-amasty](https://avatars.githubusercontent.com/u/49860700?v=4)](https://github.com/alexey-motorny-amasty "alexey-motorny-amasty (8 commits)")[![JDavidVR](https://avatars.githubusercontent.com/u/4760084?v=4)](https://github.com/JDavidVR "JDavidVR (1 commits)")[![mourjohn](https://avatars.githubusercontent.com/u/22656950?v=4)](https://github.com/mourjohn "mourjohn (1 commits)")[![timofey-novikov-amasty](https://avatars.githubusercontent.com/u/126231844?v=4)](https://github.com/timofey-novikov-amasty "timofey-novikov-amasty (1 commits)")

---

Tags

magento2magento2-module

### Embed Badge

![Health badge](/badges/amasty-module-mage-248-fix/health.svg)

```
[![Health](https://phpackages.com/badges/amasty-module-mage-248-fix/health.svg)](https://phpackages.com/packages/amasty-module-mage-248-fix)
```

###  Alternatives

[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27659.1k4](/packages/nosto-module-nostotagging)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.8k](/packages/magepal-magento2-form-field-manager)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
