You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: guides/v2.0/frontend-dev-guide/themes/theme-inherit.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,15 @@ subsequent chapters in this guide.
30
30
31
31
A parent theme is specified in the child theme `theme.xml` declaration file.
32
32
33
-
Example:
33
+
Example:
34
34
the Orange theme by OrangeCo inherits from the Magento Blank theme. The inheritance is declared in `app/design/frontend/OrangeCo/orange/theme.xml` as follows:
@@ -49,7 +49,7 @@ the Orange theme by OrangeCo inherits from the Magento Blank theme. The inherita
49
49
50
50
## Override view.xml file
51
51
52
-
If your theme does not contain a `view.xml` configuration file, it will be inherited from the parent theme. If you add the `<you_theme_dir>/view.xml` file in your theme, it overrides the parent's file.
52
+
If your theme does not contain a `view.xml` configuration file, it will be inherited from the parent theme. If you add the `<theme_dir>/etc/view.xml` file in your theme, it overrides the parent's file.
53
53
54
54
## Override static assets {#theme-inherit-static}
55
55
@@ -122,7 +122,7 @@ To do this, they need to add an overriding template for the corresponding module
122
122
Note, that the path to the template inside the `templates` directory in the theme corresponds to that in the module.
123
123
Having changed the order or elements in the templates, OrangeCo got the minicart look like following:
124
124
<p><imgsrc="{{ site.baseurl }}common/images/inherit_mini2.png"alt="In the minishopping cart products are listed above the Go to Checkout button "></p>
125
-
You can find out what exactly code changes are required to perform this and other tasks in the <ahref="{{page.baseurl}}frontend-dev-guide/templates/template-sample.html">Illustration of customizing templates topic</a>.
125
+
You can find out what exactly code changes are required to perform this and other tasks in the <ahref="{{page.baseurl}}frontend-dev-guide/templates/template-sample.html">Illustration of customizing templates topic</a>.
0 commit comments