Hot answers tagged

2 votes
Accepted

How to override .html and .js files in app/design from my custom module in app/code

Since app/design has the highest priority, you won't be able to override the same in your custom module. Another way to do this would be: Remove file from design Add the same file in the design ...
Shriram MS's user avatar
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,043
2 votes

Luma theme less styles styles not showing

It's not recommended to edit the files in the vendor directory directly, as any changes made there will be overwritten when Magento is updated or when the theme is updated. Instead, you should create ...
Harun's user avatar
  • 556
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
Accepted

Magento trouble with Porto Theme and MailChimp module

The correct thing that you have to do to resolve de issue in magento 2.4.6 is copy, all templates from porto public_html/app/design/frontend/Smartwave/porto/Magento_Newsletter/templates to ...
La Bicicleta Contacto's user avatar
1 vote

How to override a .less file from custom theme?

Create custom theme and extend Argento Theme app/design/frontend/<your_vendor_name>/<your_theme_name> edit _typography.less or _fonts.less in your theme with any text editor copy the ...
Mahmoud M. Abdelmalek's user avatar
1 vote
Accepted

Extend Magento Luma theme less

Since the Luma theme does not have <luma theme dir>/web/css/source/_extend.less, you don't need to do anything with Luma's theme folder, just create <your theme dir>/web/css/source/_extend....
Tu Van's user avatar
  • 6,763
1 vote
Accepted

Magento 2 - How to override less file of third party module @ view/base/web/css/source?

Please use this correct path to override less file: app/design/frontend/company/fresh/Amasty_MegaMenuLite/web/css/source/module/frontend/_base.less After created above path redeploy and cache flush as ...
Navneet Sharma's user avatar
1 vote

Magento 2.3: main.ERROR: Unable to resolve the source file issue

You need to update the type from the theme table, which may be changed. Please run below SQL update theme set type=0; Also Please check your selected theme on Admin After that, you need to run the ...
Msquare's user avatar
  • 9,043
1 vote

How to configure Magento 2 Theme/Design via the Command-Line?

Because this is still rather hard to do, I created a simple module to allow for enabling a theme from the CLI anyway: https://github.com/yireo/Yireo_ThemeCommands Example command would be bin/magento ...
jissereitsma's user avatar
1 vote

Magento2: Default to sort by price descending not ascending

You have to referenceBlock product_list_toolbar as the category.products.list does not have setDefaultDirection method. <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
Vyacheslav Shmal's user avatar

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