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

Chapter 3. Magento 2 Theme Layout

"Almost all quality improvement comes via simplification of design, manufacturing... layout, processes, and procedures" - Tom Peters.

Now that you've looked at what Magento has to offer in terms of themes, how themes in Magento work, and the terminology you can use to describe the various aspects of Magento themes, you can begin to look at customizing the look and feel of your store. In this chapter, we'll cover the following topics:

  • Magento 2 and Model-View-Controller architecture

  • Command-Line Interface

  • Magento 2 theme files

  • Caching system

  • Magento 2 layout system

  • Creating your first Magento 2 theme

  • Magento theme debug

Before developing your own Magento 2 theme, this chapter will explain some new concepts, resources, and tools that will assist in theme development. You'll notice very soon the importance of building a solid understanding of the Magento 2 theme infrastructure when you start to professionally build your very own Magento 2 solutions.