12 votes
Accepted

Magento2 design fallback logic

The point is, compared to Magento 1, where a pseudo fallback mechanism was implemented. Magento 2 has a mechanism that falls back as many times as a parent theme can be found. The system is very ...
Raphael at Digital Pianism's user avatar
5 votes

Magento 2 theme fallback without parent

The problem was my theme had a parent before but it was removed later. Flushing cache and removing the static and generation files did not work. In the theme table of the database the parent was still ...
Jeffrey's user avatar
  • 151
4 votes
Accepted

Magento 1.9.3.0 product page design is reverted to base/default

I just figured it out! Notes: The old (production) site is running a package called oldtheme. The new (development) site is running a theme called myCustom under the rwd package. After digging ...
Alexandru Bangală's user avatar
3 votes
Accepted

Fallback system doesn't look in default

If you have css file in theme1, him is call font in current theme and you must copy font in theme1 See example below source font go back with a folder and enter the folder fonts and font if you can ...
St3phan's user avatar
  • 2,907
2 votes
Accepted

Magento Multi Theme Styling

You can use RWD as your parent and base your multi store themes off of this using Magentos theme fallback This is a really useful step by step guide on how you can achieve this http://info2.magento....
Bobadevv's user avatar
  • 1,120
2 votes

Magento Multi Theme Styling

Yes this is possible using Magento it's fallback system. In your new theme with the seperate color schemes you can define a fallback in a theme.xml. <?xml version="1.0"?> <theme> <...
Toon Van Dooren's user avatar
2 votes
Accepted

Multiple parents of a theme

No, you can't have multiple parents. That would make inheritance very messy. If both parents had the same template, which would take precedence? As Asish said, all you can do is make use of multiple-...
Ryan Hoerr's user avatar
  • 12.2k
2 votes
Accepted

Theme dependencies and layout updates in Magento 2

Whenever you have to override core layout file you have to keep only your required code inside xml not keep full xml code of your core file. Keep inside your theme file, for default.xml magento2/...
Rakesh Jesadiya's user avatar
2 votes

How the Base folder will help on Magento 2 modules or themes fallback mechanism

The base folder is an area to share for front-end representation logic (less, js, images, layout etc.), the resource which is for both admin and front-end, you can keep those files in the base folder. ...
rajat kara's user avatar
  • 1,209
2 votes

Magento 2.x some css and js not working in custom theme

When deploying static content, Magento may ignore the assets of custom theme if the assets files(css, js) under web were empty. So, we need to put some css or js files under this folder.
Khoa TruongDinh's user avatar
2 votes
Accepted

Magento 2 Themeing

Follow these steps for create a theme now you need to create files one by one. theme.xml ( app/design/frontend/mycompany/basic/theme.xml ) <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
Arunendra's user avatar
  • 7,436
2 votes

Magento 2: How to override the magnifier.js?

Copy the file to your theme like that path below to override the default. /app/design/frontend/YourPackage/YourTheme/lib/web/magnifier/magnifier.js
Rafael Corrêa Gomes's user avatar
2 votes

Magento 2: How to override the magnifier.js?

The right path to override magnifier.js - app/design/frontend/Vendor/Theme/web/magnifier/magnifier.js
Denys Belevtsov's user avatar
1 vote
Accepted

Can't override list.phtml in Magento 2.1.6

Since when doing reference for removing it works , i m guessing that you are using the current active theme. Make sure you are in developer mode and then I would try to clean pub/static and var/...
Alexandru Melinescu's user avatar
1 vote

is there anything like magento module fallback

As per as question your custom module have changes-- Cart item's phtml file from checkout/cart/default.phtml to module/checkout/cart/default.phtml At default, Cart items in cart page are render ...
Amit Bera's user avatar
  • 77.3k
1 vote
Accepted

is there anything like magento module fallback

for this you have to place the default magento default.phtml file at app/design/frontend/rwd/theme1/template/module/cart/item/default.phtml as your module is active and you have define in your ...
Ashish Madankar M2 Professiona's user avatar
1 vote
Accepted

What determines that Fallback Model starts with <block type="page/html" name="root"..>?

In a standard configuration, output starts on the Block named root (because it has an output attribute) http://devdocs.magento.com/guides/m1x/magefordev/mage-for-dev-4.html
Sruj's user avatar
  • 151
1 vote
Accepted

Magento 2 custom theme Integration

You can use Magento\app\design\frontend\drEcom\tQCustometheme\{Default_Module}\templates\{yourovrride.phtml}. let's say you have to override vendor/magento/module-catalog/view/frontend/templates/...
Chirag Prajapati's user avatar
1 vote
Accepted

Magento 2 theme fallback to blank regardless of parent

Lets us create a child theme so our all custom themes in Magento 2 goes here: app/design/frontend/company_name/theme_name Let us assume, our company name is mycompany and our theme name is basic. ...
Arunendra's user avatar
  • 7,436
1 vote
Accepted

How can I extend adminhtml JavaScript methods with custom logic?

First, you need to customize the adminhtml equivalent of the template mentioned above, which would be: app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/configurable....
fantasticrice's user avatar
1 vote

Magento 2 Themeing

I was able to get this to work using the above instructions. One thing I wanted to mention is your theme will not inherit and compile unless you have a file in the web folder.
user3262111's user avatar
1 vote

Magento 2 Themeing

The file required to set a parent theme is app/design/frontend/**VENDOR**/**THEME**/theme.xml. This is all you need to do, if this doesn't work then try clearing your cache, and clearing var/...
Ben Crook's user avatar
  • 15.7k
1 vote

Magento2 design fallback logic

Current fallback logic of theme: Current_theme/<Namespace>_<Module>/ parent_theme(s)/<Namespace>_<Module>/ module_dir/view/frontend/ module_dir/view/base/ This pattern has ...
Amit Bera's user avatar
  • 77.3k
1 vote

Are these theme folder paths equivalent? Place theme in /vendor/?

You can place you theme in any folder. Only one requirement is register it in \Magento\Framework\Component\ComponentRegistrar
KAndy's user avatar
  • 20.8k
1 vote

How to set "view full site" link in the mobile theme?

You have to build a small module and rewrite the design_package model in Magento. See instructions in this article: http://www.classyllama.com/blog/switching-desktop-when-using-design-exceptions-...
Alain Banutz's user avatar
1 vote

Magento 2 Problem With CSS Loading

Clear / Flush Magento cache by typing “php bin/magento cache:flush”. In this step, we are setting up static content to deploy on our Magento store. To perform this, type “php bin/magento setup:static-...
Fayyaz Khattak's user avatar
1 vote

Magento 2 Problem With CSS Loading

If you set Magento to be in developer mode,"Static view files are not cached; they are written to the Magento pub/static directory every time they’re called" as it describes here: http://devdocs....
andyjv's user avatar
  • 3,232
1 vote

Magento 2 Problem With CSS Loading

You could run: setup:static-content:deploy OR delete the file(s) manually pub/static/frontend/... While developing the first approach could be extremely slow so personally I prefer to remove the ...
MauroNigrele's user avatar
  • 3,005
1 vote

Magento 2 theme fallback without parent

Themes in Magento 2.x is located in : \app\design\Area\Namespace\ThemeName It will contain mainly: registration.php : For registration of theme. <?php \Magento\Framework\Component\...
DEEP JOSHI's user avatar
1 vote

Magento 2 theme fallback without parent

the parent theme overwrites base theme of module (files contain in app/code), the child theme overwrites the parent file process order follow alphabetical If layout file belongs to different module, ...
mrtuvn's user avatar
  • 3,263

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