Magento 2 Beginners Guide

4 (2 reviews total)
By Gabriel Guarino
  • Instant online access to over 7,500+ books and videos
  • Constantly updated with 100+ new titles each month
  • Breadth and depth in over 1,000+ technologies
  1. Introduction to Magento 2

About this book

Do you have a good product to sell but need your start-up to sell it to your potential customers the right way? Were you unhappy with what Magento 1 had to offer and are looking forward to trying out what Magento 2 provides? If either of these questions ring a bell, then this book is for you! You'll start by getting a general understanding of what Magento is, why and how you should use it, and whether it is possible and feasible to migrate from an old web store to Magento 2.

We'll introduce you to the main e-commerce concepts and basic features and let you play with them, so you can get a taste of how catalog and content management works. Following on from that, we'll show you how to tune your store up. You will learn how to get web store offers up and running, how to offer various discounts in the catalog, how to let the customers reduce the total price in the shopping cart by combining different products, and how to generate coupon codes that customers can use. Finally, we'll get serious and turn your plaything into a real web store, teaching you how to run it for real.

Publication date:
March 2017


Chapter 1.  Introduction to Magento 2

In this chapter, we will cover the following topics:

  • Magento as a life style: Magento as a platform and the Magento community

  • Competitors: hosted and self-hosted e-commerce platforms

  • New features in Magento 2

  • What do you need to get started?


Magento as a lifestyle

Magento is an open source e-commerce platform. That is the short definition, but I would like to define Magento considering the seven years that I have been part of the Magento ecosystem.

In the seven years, Magento has been evolving to where it is today, a complete solution backed up by people with a passion for e-commerce. If you choose Magento as the platform for your e-commerce website, you will receive updates for the platform on a regular basis. Those updates include new features, improvements, and bug fixes to enhance the overall experience in your website.

As a Magento specialist, I can confirm that Magento is a platform that can be customized to fit any requirement. This means that you can add new features, include third-party libraries, and customize the default behavior of Magento. As the saying goes, the only limit is your imagination.

Whenever I have to talk about Magento, I always take some time to talk about its community. Sherrie Rohde is the Magento Community Manager and she has shared some really interesting facts about the Magento community in 2016:

  • Delivered over 725 talks on Magento or at Magento-centric events

  • Produced over 100 podcast episodes around Magento

  • Organized and produced conferences and meetup groups in over 34 countries

  • Written over 1,000 blog posts about Magento


Types of e-commerce solutions

There are two types of e-commerce solutions: hosted and self-hosted.

We will analyze each e-commerce solution type, and we will cover the general information, pros, and cons of each platform from each category.

Self-hosted e-commerce solutions

Self-hosted e-commerce solution is a platform that runs on your server, which means that you can download the code, customize it based on your needs, and then implement it in the server that you prefer. Magento is a self-hosted e-commerce solution, which means that you have absolute control over the customization and implementation of your Magento store.


WooCommerce is a free shopping cart plugin for WordPress that can be used to create a full-featured e-commerce website. WooCommerce has been created following the architecture and standards of WordPress, which means that you can customize it with themes and plugins. The plugin currently has more than 18,000,000 downloads, which represents over 39% of all online stores.

Now, we will review the pros and cons of WooCommerce:


  • It can be downloaded for free

  • Easy setup and configuration

  • A lot of themes available

  • Almost 400 extensions in the marketplace

  • Support through the WooCommerce help desk


  • WooCommerce cannot be used without WordPress

  • Some essential features are not included out-of-the-box, such us PayPal as a payment method, which means that you need to buy several extensions to add those features

  • Adding custom features to WooCommerce through extensions can be expensive


PrestaShop is a free open source e-commerce platform. The platform is currently used by more than 250,000 online stores and is backed by a community of more than 1,000,000 members. The company behind PrestaShop provides a range of paid services, such us technical support, migration, and training to run, manage, and maintain the store.

Now, let's take a look at the pros and cons of Prestashop:


  • Free and open source

  • 310 integrated features

  • 3,500 modules and templates in the marketplace

  • Downloaded over 4 million times

  • 63 languages


  • As with WooCommerce, many basic features are not included by default and adding those features through extensions is expensive

  • Multiple bugs and complaints from the PrestaShop community


OpenCart is an open source platform for e-commerce, available under the GNU General Public License. OpenCart is a good choice for a basic e-commerce website.

Now, let's take a look at the pros and cons of OpenCart:


  • Free and open source

  • Easy learning curve

  • More than 13,000 extensions available

  • More than 1,500 themes available


  • Limited features

  • Not ready for SEO

  • No cache management page in admin panel

  • Hard to customize

Hosted e-commerce solutions

A hosted e-commerce solution is a platform that runs on the server belonging to the company that provides that service, which means that the solution is easier to set up but there are limitations and you don't have the freedom to customize the solution according to your needs. The monthly or annual fees increase when the store attracts more traffic and has more customers and orders placed.


Shopify is a cloud-based e-commerce platform for small and medium-sized business. The platform currently powers over 325,000 online stores in approximately 150 countries.

Below, we will mention the pros and cons of Shopify:


  • No technical skills required to use the platform

  • Tool to import products from another platform during the sign up process

  • More than 1,500 apps and integrations

  • 24/7 support through phone, chat, and e-mail


  • The source code is not provided

  • Recurring fee to use the platform

  • Hard to migrate from Shopify to another platform


BigCommerce is one of the most popular hosted e-commerce platforms, and powers more than 95,000 stores in 150 countries.

Finally, we will review the pros and cons of BigCommerce:


  • No technical skills required to use the platform

  • More than 300 apps and integrations available

  • More than 75 themes available


  • The source code is not provided

  • Recurring fee to use the platform

  • Hard to migrate from BigCommerce to another platform


New features in Magento 2

Magento 2 is a new generation of the platform, with new features, technologies, and improvements that make Magento one of the most robust and complete e-commerce solutions available at the moment. In this section, we will describe the main differences between Magento 1 and Magento 2.

First, let's review the new technologies that are available in Magento 2:

New technologies

  • Composer: This is a dependency manager for PHP. Dependencies can be declared and Composer will manage these dependencies by installing and updating them. In Magento 2, Composer simplifies the process of installing and upgrading extensions and upgrading Magento.

  • Varnish 4: This is an open source HTTP accelerator. Varnish stores pages and other assets in memory to reduce the response time and network bandwidth consumption.

  • Full Page Caching: In Magento 1, Full Page Caching was only included in the Magento Enterprise Edition. In Magento 2, Full Page Caching is included in all editions, allowing the content from static pages to be cached, increasing the performance and reducing the server load.

  • Elasticsearch: This is a search engine that improves the search quality in Magento and provides background re-indexing and horizontal scaling.

  • RequireJS: It is a library to load Javascript files on-the-fly, reducing the number of HTTP requests and improving the speed of the Magento Store.

  • jQuery: The frontend in Magento 1 was implemented using Prototype as the language for Javascript. In Magento 2, the language for Javascript code is jQuery.

  • Knockout.js: This is an open source Javascript library that implements the Model-View-ViewModel (MVVM) pattern, providing a great way of creating interactive frontend components.

  • LESS: This is an open source CSS preprocessor that allows the developer to write styles for the store in a more maintainable and extendable way.

  • Magento UI Library: This is a modular frontend library that uses a set of mix-ins for general elements and allows developers to work more efficiently on frontend tasks.

Now, let's review the new tools that are available in Magento 2:

New tools

  • Magento Performance Toolkit: This is a tool that allows merchants and developers to test the performance of the Magento installation and customizations.

  • Magento 2 Command Line Tool: This is a tool to run a set of commands in the Magento installation to clear the cache, re-index the store, create database backups, enable maintenance mode, and more.

  • Data Migration Tool: This tool allows developers to migrate the existing data from Magento 1.x to Magento 2. The tool includes verification, progress tracking, logging, and testing functions.

  • Code Migration Toolkit: This allows developers to migrate Magento 1.x extensions and customizations to Magento 2. Manual verification and updates are required in order to make the Magento 1.x extensions compatible with Magento 2.

  • Magento 2 Developer Documentation: One of the complaints by the Magento community was that Magento 1 didn't have enough documentation for developers. In order to resolve this problem, the Magento team created the official Magento 2 Developer Documentation with information for developers, system administrators, designers, and QA specialists.

Admin panel changes

  • Better UI: The admin panel has a new look-and-feel, which is more intuitive and easier to use. In addition to that, the admin panel is now responsive and can be viewed from any device in any resolution.

  • Inline editing: The admin panel grids allow inline editing to manage data in a more effective way.

  • Step-by-step product creation: The product add/edit page is one of the most important pages in the admin panel. The Magento team worked hard to create a different experience when it comes to adding/editing products in the Magento admin panel, and the result is that you can manage products with a step-by-step page that includes the fields and import tools separated in different sections.

Frontend changes

  • Integrated video in product page: Magento 2 allows you to add a video to the product, introducing a new way of displaying products in the catalog.

  • Simplified checkout: The steps in the checkout page have been reduced to allow customers to place orders in less time, increasing the conversion rate of the Magento store.

  • Register section removed from checkout page: In Magento 1, the customer had the opportunity to register from step 1 of the checkout page. This required the customer to think about his account and the password before completing the order. In order to make the checkout simpler, Magento 2 allows the customer to register from the order success page without delaying the checkout process.


What do you need to get started?

Magento is a really powerful platform and there is always something new to learn. Just when you think you know everything about Magento, a new version is released with new features to discover. This makes Magento fun and unique as an e-commerce platform.

That being said, this book will be your guide to discover everything you need to know to implement, manage, and maintain your first Magento store.

In addition to that, I would like to highlight additional resources that will be useful in your journey of mastering Magento:

  • Official Magento Blog ( Get the latest news from the Magento team: best practices, customer stories, information related to events, and general Magento news

  • Magento Resources Library ( Videos, webinars and publications covering useful information organized by categories: order management, marketing and merchandising, international expansion, customer experience, mobile architecture and technology, performance and scalability, security, payments and fraud, retail innovation, and business flexibility

  • Magento Release Information ( This is the place where you will get all the information about the latest Magento releases, including the highlights of each release, security enhancements, information about known issues, new features, and instructions for upgrade

  • Magento Security Center ( Information about each of the Magento security patches as well as best practices and guidelines to keep your Magento store secure

  • Upcoming Events and Webinars ( The official list of upcoming Magento events, including live events and webinars

  • Official Magento Forums ( Get feedback from the Magento community in the official Magento Forums



In this chapter, we reviewed Magento 2 and the changes that have been introduced in the new version of the platform. We also analyzed the types of e-commerce solutions and the most important platforms available. In the next chapter, we will review the process of installing Magento 2 to start working with the platform.

About the Author

  • Gabriel Guarino

    Gabriel Guarino has been working with Magento since 2009.

    As a Magento specialist he has achieved all the Magento certifications. He is an active member of the community and has been recognized as a Magento Master for 2017.

    He is the Chief Operating Officer of Wagento, a full-service Magento Solution Partner with offices in USA, Mexico, Bolivia, India, and Argentina.

    He is also a moderator in Magento forums, and he is a frequent speaker at Magento events.

    Browse publications by this author

Latest Reviews

(2 reviews total)
Solid information but with some mistakes and errors.
Muy completa guía, buena para empezar a tomar control de dónde están las cosas y cómo se configura una tienda en Magento 2.

Recommended For You

Magento 2 Development Quick Start Guide

Create an interactive online store and customize it further using Magento

By Branko Ajzele
Magento 2 Cookbook

Over 50 practical recipes that will help you realize the full potential of Magento in order to build a professional online store

By Ray Bogman and 1 more
Magento 2 Theme Design - Second Edition

Create stunning and responsive Magento 2 themes for your business

By Fernando J Miguel and 1 more
Magento 2 Developer's Guide

Harness the power of Magento 2 – The most recent version of the world’s favourite e-Commerce platform for your online store

By Branko Ajzele