Michael
Michael

Reputation: 4876

Magento's theme hierarchy: base/ vs default/

In this material I read about themes in magento.

I also talks about default/default folder, but it doesn't specify clearly which is on top of which.

So, if a have mythemepackage/default, default/default and base/default, is default/default reached while getting falledback from mythemepackage to base?

Upvotes: 1

Views: 744

Answers (1)

Amit Kumar
Amit Kumar

Reputation: 1782

[EDITED]

NO, If you have below package/theme

  1. mythemepackage/mytheme
  2. mythemepackage/default
  3. default/default
  4. base/default

and you have set the package to mythemepackage and default theme to mytheme.

Then Magento first check in mythemepackage/mytheme folder and if not found then check in mythemepackage/default and if still not found then look in base/default.

If not found, a rendering error will occur.

Upvotes: 1

Related Questions