amasty / module-mage-248-fix
Fix several issues on Magento 2.4.8 version by Amasty
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=7.4
- amasty/base: >=1.19.0
- magento/framework: 103.0.8
- wikimedia/less.php: ^5.3.1
README
Overview
This module addresses two 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).
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.
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:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
Option 2: Manual Installation
- Download the module files from the repository.
- Place the module files in the
app/code/Amasty/Mage248Fix
directory of your Magento 2 installation. - 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
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