amasty/module-mage-248-fix
Composer 安装命令:
composer require amasty/module-mage-248-fix
包简介
Fix several issues on Magento 2.4.8 version by Amasty
README 文档
README
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
amasty/module-mage-248-fix 适用场景与选型建议
amasty/module-mage-248-fix 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 227.76k 次下载、GitHub Stars 达 11, 最近一次更新时间为 2025 年 04 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 amasty/module-mage-248-fix 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 amasty/module-mage-248-fix 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 227.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-04-17