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

Magento terminology


Before you look at Magento themes, it's beneficial to know the difference between what Magento calls vendors and what Magento calls themes and the distinguishing factors of websites and stores.

Magento vendors and themes

According to the official documentation, a Magento theme is a component that provides a visual design for an entire application area using a combination of custom templates, layouts, styles, or images. Themes are implemented by different vendors and are intended to be distributed as additional packages for Magento, similar to other components.

Each vendor can have one or more themes attached to it, so you can develop different themes inside the same vendor:

Each theme can have specific rules and custom layout files providing better flexibility both for administrators and developers. The Magento 2 theme structure can be described as follows:

The way that Magento's theme structure works is quite simple. Each <Vendor>_<Module> corresponds a specific...