Book Image

Magento 2 Development Essentials

By : Fernando J Miguel
Book Image

Magento 2 Development Essentials

By: Fernando J Miguel

Overview of this book

Magento is the e-commerce software and platform trusted by the world's leading brands. Used by thousands of merchants for their transactions worth billions, it provides the flexibility to customize the content and functionality of your website. By strengthening your fundamentals in Magento development, you can develop the best solutions and take advantage of the growing market. This fast-paced tutorial will provide you with skills you need to successfully create themes, extensions, and solutions to Magento 2 projects. This book begins by setting up Magento 2 before gradually moving onto setting the basic options of the Sell System. You will take advantage of Search Engine Optimization aspects, create design and customize theme layout, develop new extensions, and adjust the Magento System to achieve great performance. By sequentially working through the steps in each chapter, you will quickly explore all the features of Magento 2 to create a great solution. With ample examples and a practical approach, this book will ensure your success with this astonishing e-commerce management system.
Table of Contents (16 chapters)
Magento 2 Development Essentials
About the Author
About the Reviewers

Creating a basic Magento 2.0 theme

After understanding the basic Magento 2.0 theme structure, you have the right credentials to go to the next level: creating your own theme. In this chapter, we will develop a simple theme and activate it on the Magento Admin panel. The basic idea is to give you the right directions to Magento theme development and provide you with the tools to let your imagination fly around the creation of various Magento themes!

Before starting the creation, let's disable Magento cache management. It is important when you work with Magento development to get updates in real time. You learned about cache management in Chapter 2, Magento 2.0 Features:

  1. Open the terminal (Linux, OS X) or command prompt (Windows) and access the <your Magento install dir>/bin directory.

  2. Then, run the php magento cache:disable command to disable all the cache systems.

Creating and declaring a theme

To create a basic theme structure, follow these steps:

  1. Create a new vendor directory named Packt...