Book Image

Magento 2 Theme Design - Second Edition

By : Richard Carter
Book Image

Magento 2 Theme Design - Second Edition

By: Richard Carter

Overview of this book

Magento is the e-commerce software and platform trusted by the world’s leading brands. Using Magento’s powerful theming engine, you can control the look, content, and functionality, and easily launch a flexible e-commerce website. However, because of its powerful features, developing Magento themes is easier said than done. This book aims to leverage the enhancements to theme designing in Magento 2 to the fullest. It will show you how to gear up the performance of your e-commerce website. We begin by introducing Magento 2 and its features along with implementing a local development Magento environment. We then move on to discuss the concepts of the Magento theme structure such as templates, inheritance, customization, and override. Further on, we explore the Magento UI Library, which is a new feature available in Magento 2.0. We will create a new Magento 2.0 theme named MyCake Store using Magento Bootstrap from Maven E-commerce and also create print strategies for the Magento 2.0 theme. We will also create and customize a new theme proposal for the Magento admin panel. At the end, we will integrate Magento 2.0 to Twitter and integrate it with social bookmarking and finally deploy our new Magento 2.0 theme.
Table of Contents (18 chapters)
Magento 2 Theme Design - Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Customizing templates


Besides the layout files manipulation to the positioning of elements on the page, according to the containers reference, it is also possible to implement improvements in the templates for your new theme with the techniques taught in this book.

At this point, I believe that the communication between the different elements of Magento 2 is clear and I am sure you will have many ideas for your projects using the techniques in the best possible way.

Besides the behavior customization of rendered pages via layout and your behavior via templates, it is also possible to customize the language of your store as a whole with the Translation Dictionaries.

In the next section, we will work on customization and theme translation.

Customizing templates with a new language

By default, Magento 2 works with a dictionary of words commonly used in the system, such as wishlist, view order, and print order. When working with a theme that will give support for more than one language, it is highly...