diff --git a/guides/v2.0/frontend-dev-guide/themes/admin_theme_create.md b/guides/v2.0/frontend-dev-guide/themes/admin_theme_create.md index 9480a8c0c57..836fcb8dc51 100644 --- a/guides/v2.0/frontend-dev-guide/themes/admin_theme_create.md +++ b/guides/v2.0/frontend-dev-guide/themes/admin_theme_create.md @@ -46,7 +46,7 @@ Configure it using the following example (replace placeholders with your {% glos %Theme title% %vendor_dir%/%parent_theme_dir% - + {%endhighlight%} If you change the theme title or parent theme information in `theme.xml` after a theme was already [registered](#register_theme), you need to open or reload any {% glossarytooltip 18b930cf-09cc-47c9-a5e5-905f86c43f81 %}Magento Admin{% endglossarytooltip %} page for your changes to be saved in the database. diff --git a/guides/v2.0/frontend-dev-guide/themes/theme-inherit.md b/guides/v2.0/frontend-dev-guide/themes/theme-inherit.md index 7183de437df..3ec4cc36d4a 100644 --- a/guides/v2.0/frontend-dev-guide/themes/theme-inherit.md +++ b/guides/v2.0/frontend-dev-guide/themes/theme-inherit.md @@ -40,7 +40,7 @@ the Orange theme by OrangeCo inherits from the Magento Blank theme. The inherita media/preview.jpg - + {% endhighlight xml %}
@@ -115,7 +115,7 @@ For example, if you must override the `/view/fronten Example By default, according to the module template, in the mini {% glossarytooltip c7ecb18d-cefe-452d-83e2-3c4d5e355db9 %}shopping cart{% endglossarytooltip %} products are listed under the Go to {% glossarytooltip 278c3ce0-cd4c-4ffc-a098-695d94d73bde %}Checkout{% endglossarytooltip %} button: -

In the minishopping cart products are listed under the Go to Checkout button

+

In the minishopping cart products are listed under the Go to Checkout button

The order is defined in the `/view/frontend/templates/cart/minicart.phtml` module template. The Blank theme does not override this template. OrangeCo decided they want the product list to be displayed before the Go to Checkout button. @@ -123,7 +123,7 @@ To do this, they need to add an overriding template for the corresponding module `app/design/frontend/OrangeCo/orange/Magento_Checkout/templates/cart/minicart.phtml` Note, that the path to the template inside the `templates` directory in the theme corresponds to that in the module. Having changed the order or elements in the templates, OrangeCo got the minicart look like following: -

In the minishopping cart products are listed above the Go to Checkout button

+

In the minishopping cart products are listed above the Go to Checkout button

You can find out what exactly code changes are required to perform this and other tasks in the Illustration of customizing templates topic. ## Extend layouts {#theme-inherit-layout} diff --git a/guides/v2.1/frontend-dev-guide/themes/admin_theme_create.md b/guides/v2.1/frontend-dev-guide/themes/admin_theme_create.md index b1e2544ebd1..a119943ccfb 100644 --- a/guides/v2.1/frontend-dev-guide/themes/admin_theme_create.md +++ b/guides/v2.1/frontend-dev-guide/themes/admin_theme_create.md @@ -46,7 +46,7 @@ Configure it using the following example (replace placeholders with your {% glos %Theme title% %vendor_dir%/%parent_theme_dir% - + {%endhighlight%} If you change the theme title or parent theme information in `theme.xml` after a theme was already [registered](#register_theme), you need to open or reload any {% glossarytooltip 18b930cf-09cc-47c9-a5e5-905f86c43f81 %}Magento Admin{% endglossarytooltip %} page for your changes to be saved in the database. diff --git a/guides/v2.1/frontend-dev-guide/themes/theme-inherit.md b/guides/v2.1/frontend-dev-guide/themes/theme-inherit.md index 00cb740dd21..d763a89c50f 100644 --- a/guides/v2.1/frontend-dev-guide/themes/theme-inherit.md +++ b/guides/v2.1/frontend-dev-guide/themes/theme-inherit.md @@ -40,7 +40,7 @@ the Orange theme by OrangeCo inherits from the Magento Blank theme. The inherita media/preview.jpg - + {% endhighlight xml %}
@@ -113,7 +113,7 @@ For example, if you must override the `/view/fronten Example By default, according to the module template, in the mini {% glossarytooltip c7ecb18d-cefe-452d-83e2-3c4d5e355db9 %}shopping cart{% endglossarytooltip %} products are listed under the Go to {% glossarytooltip 278c3ce0-cd4c-4ffc-a098-695d94d73bde %}Checkout{% endglossarytooltip %} button: -

In the minishopping cart products are listed under the Go to Checkout button

+

In the minishopping cart products are listed under the Go to Checkout button

The order is defined in the `/view/frontend/templates/cart/minicart.phtml` module template. The Blank theme does not override this template. OrangeCo decided they want the product list to be displayed before the Go to Checkout button. @@ -121,7 +121,7 @@ To do this, they need to add an overriding template for the corresponding module `app/design/frontend/OrangeCo/orange/Magento_Checkout/templates/cart/minicart.phtml` Note, that the path to the template inside the `templates` directory in the theme corresponds to that in the module. Having changed the order or elements in the templates, OrangeCo got the minicart look like following: -

In the minishopping cart products are listed above the Go to Checkout button

+

In the minishopping cart products are listed above the Go to Checkout button

You can find out what exactly code changes are required to perform this and other tasks in the Illustration of customizing templates topic. ## Extend layouts {#theme-inherit-layout}