Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
2 votes

Magento 2.4 var/log/system.log full of: Requested path _cache/merged/... is wrong (but is working)?

Please restart your Varnish cache and Redis cache if you are using them. Additionally, deploy your static content on the server. It seems that your HTML content is attempting to retrieve cached data ...
Msquare's user avatar
  • 9,103
2 votes
Accepted

Magento 2 - Minify CSS and JS in pub/static folder not updating in browser

If adding a query string to the request effectively busts the cache, then you are probably dealing with some sort of CDN like Cloudflare or a reverse proxy cache like Varnish or Fastly. Try purging ...
Jason Carter's user avatar
2 votes
Accepted

How can I "debug" my Magento website to find out why some text is there/not there?

You can try the following steps to troubleshoot the issue: First of all Enable Developer Mode using php bin/magento deploy:mode:set developer command. If you have third-party extensions, consider ...
Charmi Patel's user avatar
  • 1,153
1 vote
Accepted

"Best practice" editing CSS while in development to avoid cache rebuild time

To speed up theme development, you can utilize Grunt and LiveReload to automatically update changes in the browser without needing to refresh the page or redeploy static content. Here is an open ...
Tu Van's user avatar
  • 7,143
1 vote

Load different custom fonts to different products

I don't know if you want to change the font for some products on category product listing pages or in product detail page. But you can. If you want to change the font for some products in catalog/...
Armi_Raz's user avatar
1 vote
Accepted

Magento 2.4 var/log/system.log full of: Requested path _cache/merged/... is wrong (but is working)?

The error messages you are seeing in the system.log file and the 404 errors in your Apache access logs indicate that Magento is attempting to access certain CSS files in the _cache/merged directory, ...
qɐʇǝɥɐW's user avatar
1 vote

After installing Magento2.4.6-p2 CSS and JS 404 not found

Run this command on your server php bin/magento config:set dev/static/sign 0 Clear the cache php bin/magento cache:clean
Arif Qureshi's user avatar
1 vote
Accepted

After installing Magento2.4.6-p2 CSS and JS 404 not found

I'm not quite sure how's your apache configuration, but maybe you can try to remove versioning number in those js/css static files. How to remove versioning number? execute this sql command into your ...
Fiko's user avatar
  • 106
1 vote

Confusion over the Magento 2 Mobile Breakpoint 767px, 768px?

A change was made in Magento 2.4.4 (a year ago) that increase the max width for the mobile view to 768px from 767px in earlier versions. You can check the related commit: https://github.com/magento/...
Tu Van's user avatar
  • 7,143
1 vote
Accepted

Porto theme - Magento2 - Product page - Image position

You can use the Sticky widget from Magento. Here is a link to the official documentation : https://developer.adobe.com/commerce/frontend-core/javascript/jquery-widgets/sticky/ Here is an example of an ...
Cladiuss's user avatar
  • 1,279
1 vote

Email template styles are not working

The file name should have an underscore prefix: _email-inline.less After writing your styles you should remove static files rm -rf var/view_preprocessed/* pub/static/*
Annak942's user avatar
1 vote

Magento 2 - css source maps not working

As this question pops up when searching 'magento 2 source maps not working' I'll add another possible case, I couldn't find anything online about it. Your store can have different locale compared to ...
Heinlein's user avatar
1 vote

Add CSS class name to body tag for a checkout step

This works in magento 2.4.6 and also adds checkout step classes on page load (and change checkout step event). Adjust the class names to your need. Override progress-bar.js in you custom active theme(...
Duckstad in the Snow's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible