New answers tagged

2 votes

Magento 2: how to specify the module name in custom theme?

Override the Module changes in the Theme customization by using the Module name as a directory under the Theme vendor. etc/module.xml We can use either Module name as directory from etc/module.xml <...
user avatar
  • 426
1 vote
Accepted

Magento 2: how to specify the module name in custom theme?

Go to that module folder and see registration.php file. You'll see its real name. And then use it as its written there.
user avatar
0 votes

Overriding a .phtml file in custom theme doesn't work

The template path seems correct assuming you are using the correct theme app\design\frontend\Perfectmakeupmirrors\argento-luxury-custom\Magento_Checkout\templates\success.phtml Could you check ...
user avatar
1 vote
Accepted

How to override a phtml file in vendor folder

The logic of overwrite template is correct, but i have 2 questions. Is /mytheme/ just simplify and you have path like /<vendor>/<theme>/? Are you sure the module name is ...
user avatar
-1 votes

Overriding catalog_product_view.xml does not work

First, check if It may be already overwritten in app/design/frontend/Smartwave/porto_child/Magento_Catalog/layout/catalog_product_view.xml or not. IF not overwrite then add your code into app/design/...
user avatar
  • 5,800
0 votes

Overriding catalog_product_view.xml does not work

If you want to overwrite layout the path must be app/design/frontend/Smartwave/porto_child/Mageants_SampleProduct/layout/override/base/catalog_product_view.xml Reference: Override a layout
user avatar

Top 50 recent answers are included