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
Preview in Mapt

Magento 2 Cookbook

Ray Bogman, Vladimir Kerkhoff

1 customer reviews
Over 50 practical recipes that will help you realize the full potential of Magento in order to build a professional online store
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Magento 2 Cookbook Book Cover
Magento 2 Cookbook
$ 35.99
$ 25.20
Magento 2 Development Cookbook Book Cover
Magento 2 Development Cookbook
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781785887062
Paperback342 pages

Book Description

Magento 2 is an open source e-commerce platform that has all the functionality to function from small to large online stores. It is preferred by developers and merchants due to its new architecture, which makes it possible to extend the functionalities with plugins, a lot of which are now created by the community.

This merchant and developer guide is packed with recipes that cover all aspects of Magento 2. The recipes start with simple how-to’s then delve into more advanced topics as the book progresses.

We start with the basics of setting up a Magento 2 project on Apache or Nginx. Next, you will learn about basics including system tools and caching to get your Magento 2 system ready for the real work. We move on to simple tasks such as managing your store and catalog configuration. When you are familiar with this, we cover more complex features such as module and extension development. Then we will jump to the final part: advanced Magento 2 extensions.

By the end of this book, you’ll be competent with all the development phases of Magento 2 and its most common elements.

Table of Contents

Chapter 1: Installing Magento 2 on Apache and NGINX
Introduction
Installing Apache
Installing NGINX
Installing PHP-FPM
Installing HHVM
Installing MySQL
Installing Magento 2
Installing Magento 2 on Hypernode
Managing Magento 2 on Docker
Chapter 2: Magento 2 System Tools
Introduction
Installing Magento 2 sample data via GUI
Installing Magento 2 sample data via the command line
Managing Magento 2 indexes via the command line
Managing Magento 2 cache via the command line
Managing Magento 2 backup via the command line
Managing Magento 2 set mode (MAGE_MODE)
Transferring your Magento 1 database to Magento 2
Chapter 3: Enabling Performance in Magento 2
Introduction
Configuring Redis for backend cache
Configuring Memcached for session caching
Configuring Varnish as the Full Page Cache
Configuring Magento 2 with CloudFlare
Configuring optimized images in Magento 2
Configuring Magento 2 with HTTP/2
Configuring Magento 2 performance testing
Chapter 4: Creating Catalogs and Categories
Introduction
Create a Root Catalog
Create subcategories
Manage attribute sets
Create products
Manage products in a catalog grid
Chapter 5: Managing Your Store
Introduction
Creating shipping and tax rules
Managing customer groups
Configuring inventories
Configuring currency rates
Managing advanced pricing
Chapter 6: Creating a Magento 2 Theme
Introduction
Creating a new theme
Changing a layout XML of a Magento 2 module
Adding CSS/JS to pages
Using Grunt for CSS changes
Adding static blocks to pages through layout XML
Adding static blocks to pages through widgets
Using a dynamic serving theme based on the client browser
Creating theme-specific translations
Chapter 7: Creating Magento 2 Extensions – the Basics
Introduction
Initializing extension basics
Working with database models
Creating tables using setup scripts
Creating a web route and controller to display data
Creating system configuration fields
Creating a backend data grid
Creating a backend form to add/edit data
Chapter 8: Creating Magento 2 Extensions – Advanced
Introduction
Using dependency injection to pass classes to your own class
Modifying functions with the use of plugins – Interception
Creating your own XML module configuration file
Creating your own product type
Working with service layers/contracts
Creating a Magento CLI command option

What You Will Learn

  • Set up a Magento 2 project on Apache or Nginx.
  • Transfer your Magento 1 database to Magento 2 using the Magento 2 system tools.
  • Boost the performance of Magento 2 by enabling different types of caching.
  • Build a Magento 2 multi-store by creating a root catalog, subdirectories, and products.
  • Create and manage pages, blocks, and front-end apps.
  • Manage your Magento store by setting up the correct TAX rules.
  • Design custom themes within the Magento 2 framework.
  • Create basic and advanced extensions using Magento 2.

Authors

Table of Contents

Chapter 1: Installing Magento 2 on Apache and NGINX
Introduction
Installing Apache
Installing NGINX
Installing PHP-FPM
Installing HHVM
Installing MySQL
Installing Magento 2
Installing Magento 2 on Hypernode
Managing Magento 2 on Docker
Chapter 2: Magento 2 System Tools
Introduction
Installing Magento 2 sample data via GUI
Installing Magento 2 sample data via the command line
Managing Magento 2 indexes via the command line
Managing Magento 2 cache via the command line
Managing Magento 2 backup via the command line
Managing Magento 2 set mode (MAGE_MODE)
Transferring your Magento 1 database to Magento 2
Chapter 3: Enabling Performance in Magento 2
Introduction
Configuring Redis for backend cache
Configuring Memcached for session caching
Configuring Varnish as the Full Page Cache
Configuring Magento 2 with CloudFlare
Configuring optimized images in Magento 2
Configuring Magento 2 with HTTP/2
Configuring Magento 2 performance testing
Chapter 4: Creating Catalogs and Categories
Introduction
Create a Root Catalog
Create subcategories
Manage attribute sets
Create products
Manage products in a catalog grid
Chapter 5: Managing Your Store
Introduction
Creating shipping and tax rules
Managing customer groups
Configuring inventories
Configuring currency rates
Managing advanced pricing
Chapter 6: Creating a Magento 2 Theme
Introduction
Creating a new theme
Changing a layout XML of a Magento 2 module
Adding CSS/JS to pages
Using Grunt for CSS changes
Adding static blocks to pages through layout XML
Adding static blocks to pages through widgets
Using a dynamic serving theme based on the client browser
Creating theme-specific translations
Chapter 7: Creating Magento 2 Extensions – the Basics
Introduction
Initializing extension basics
Working with database models
Creating tables using setup scripts
Creating a web route and controller to display data
Creating system configuration fields
Creating a backend data grid
Creating a backend form to add/edit data
Chapter 8: Creating Magento 2 Extensions – Advanced
Introduction
Using dependency injection to pass classes to your own class
Modifying functions with the use of plugins – Interception
Creating your own XML module configuration file
Creating your own product type
Working with service layers/contracts
Creating a Magento CLI command option

Book Details

ISBN 139781785887062
Paperback342 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Magento 2 Developer's Guide Book Cover
Magento 2 Developer's Guide
$ 35.99
$ 25.20
Magento 2 Development Cookbook Book Cover
Magento 2 Development Cookbook
$ 39.99
$ 28.00
Instant Magento Shipping How-to Book Cover
Instant Magento Shipping How-to
$ 14.99
$ 10.50
Magento 2 Theme Design - Second Edition Book Cover
Magento 2 Theme Design - Second Edition
$ 31.99
$ 22.40
Magento 1.4 Theming Cookbook Book Cover
Magento 1.4 Theming Cookbook
$ 23.99
$ 16.80
Magento 1.8 Development Cookbook Book Cover
Magento 1.8 Development Cookbook
$ 26.99
$ 18.90