Creating Value through Innovation MAGENTO 1.X TO MAGENTO 2.0 MIGRATION

21 

Full text

(1)

MAGENTO 1.X TO MAGENTO 2.0

MIGRATION

(2)

1. Overview of Magento 2.0

2. Features and benefits of Magento 2.0 over Magento 1.x 3. Why should we upgrade to Magento 2.0

4. Magento 2.0 Migration Plan

(3)

Installation and upgrades Reduced time to market

Less development and long-term maintenance cost Enhanced flexibility

Consistent branding

Better email marketing campaign performance

OVERVIEW OF MAGENTO 2.0

Modernize web and technology stack Easy customization

Simplify external integrations

Robust scalability and performance Installation procedure improvements

Better quality, testing resources and documentation

Why Magento 2? Magento 2 Goals

Magento 2.0 Automated Testing

Magento 2.0 store owners will be able to set up automated tests for Unit Testing, Integration, Function and Performance. Magento 1.x required a different testing system or a dedicated staff.

Magento 2: The Way Ahead

The move to the new version of Magento seems

inevitable as all extension developers will be moving to Magento 2.0. It is time to take your ecommerce store to the next level with the new version.

Magento 2.0 will allow faster time to market and lower development costs. It comes with a relatively modern code base that allows cleaner

(4)

FEATURES AND BENEFITS OF MAGENTO 2.0 OVER MAGENTO 1.X

Compatible with more Popular Platforms

Magento 2.0 uses PHP 5.5 and Zend Framework for managing performances of cache engine, database access layer and translations. At the same time, it supports MSSQL and Oracle that is great for Windows Platform Server along with MySQL.

jQuery Library

Jquery is the most popular lightweight to use JavaScript Library. In Magento 2.0. The migration from prototype to Jquery is one of the most important changes in Magento 2.0.

Performance Enhancement

Previously, speed and performance always is a problem Magento has to confront. But everything has changed in Magento 2.0. In this latest version, speed will be 20% faster than the old versions. This will be very dramatic change in the Magento performance.

Component Oriented Architecture

Such modules as customer, catalog, checkout, sales, CMS and others will exist as components. If you don’t need them, you can always disable it and replace with your own; especially, you don’t have to hack the existing code base for that. Hence, site performance and flexibility will be enhanced incredibly.

(5)

FEATURES AND BENEFITS OF MAGENTO 2.0 OVER MAGENTO 1.X (Contd.)

Directories Structure

There are significant changes in the structure of directory. New directory called “pub” is introduced. The aim of this change is to provide a better a clear view structure for developer.

Automated Testing

Magento 2.0 allows developer to setup automated test easily.

Better security

This latest Magento version supports some steps to deal with server validation. Thanks to this, your online site will get better security.

JQuery JavaScript Framework

Magento 2.0 supports only one JavaScript framework – JQuery. Thus, it will have much less JavaScript conflicts the new version Magento 2.0 compared to Magento version 1.x.

(6)

New included technologies Improved customization process Easier frontend development

Reduced upgrade costs and efforts

Improved scalability & performance

New documentation & testing resources

Better engagement with the community

01

02

03

04

05

06

07

(7)

The new technologies consist of the latest versions of PHP, JQuery, CSS3, etc. you can see the difference between Magento 2.0 and Magento 1.x in the below table.

MAGENTO 2.0 KEY UPDATES (Contd.)

The New included technologies

Was in 1.x Is in 2.0

• Sass/Compass

• JQuery in rwd package only

• Prototype JavaScript library in core • Additional JavaScript libraries

• HTML5 • CSS3 • RequireJS • Apache 2.2 or later • PHP 5.5x, with PHP 5.4.11 • MySQL 5.6 • PSR Compliance

• Install needed components via composer

• Magento UI Library • CSS Pre-processor • Full page caching

• Magento performance toolkit

(8)

With the introduction of Visual Design Editor, it is easy to use” drop and drag” interface for editing Magento layout. Thanks to, the appearance of Visual design editor, modifying containers and blocks will not require specialized technical knowledge. Hence, you can make many changes in the admin panel at ease.

Improved customization process

02

With less CSS preprocessor and modern HTML5 themes, developer now can find it easy to new look& feel of the site without changing site functionality.

Easier frontend development

03

In Magento 2.0, upgrading core Magento software and extensions will be easier than with lower upgrade costs and efforts.

• Upgrade to new version: To support developer upgrade new version easier, Magento 2includes information on versioning policies. Moreover, you will be provided all necessary information about compatibility of upgrades.

• Install Magento: With the support of new standalone installer, installing Magento 2 will be much faster. This tool will check for prerequisites before starting installation.

Reduced upgrade costs and efforts

04

(9)

Improved scalability consists of improved indexers, new Magento performance toolkit, Varnish Cache. Meanwhile the new indexers in Magento 2 come with more efficient updates to speed up performance, Magento performance toolkits support to verify and optimize system performance and Varnish Cache helps reducing server load and speed up the page load.

Improved scalability and performance

05

The newest version of Magento includes all the necessary documentation. Also, it consists of tests to enable faster development. This testing framework supports continuous integration and testing practices.

New level of quality, documentation and testing resources

06

Another good point of Magento 2 is better engagement with the community. Through Magento 2 webinars and special events, the platform more opened to the community.

Better engagement with the community

07

(10)

WHY SHOULD WE UPGRADE TO MAGENTO 2.0

This is entirely up to you. If you are an early adopter and like to be on the cutting edge of technology, or if you are a merchant who is already running into limitations with Magento 1.x, now is the time to start planning your upgrade to Magento 2.

However, if you are just looking to update your site by adding new Magento 2 features and are concerned about having to deal with the potential bugs of a new release, you may want to wait until the bugs have been worked out before upgrading to Magento 2.

When Should I Upgrade to Magento 2?

There are a number of new differences between Magento 1.x and Magento 2.0, with more on the way. Here are a few key Magento 2 features:

What is the Difference Between Magento 1.x and Magento 2.0?

Full page caching

Varnish 4 support

Compatibility with HHVM3.6 Layout performance

improvements

Static content caching in browser

Reduced JS code

Effective image compressing

(11)

0 0.5 1 1.5 2 2.5 3 Browsing Scenario Sc en a rio t ime (secs ) Megento 1.x Megento 2.0

25%

faster out of the box

0 0.2 0.4 0.6 0.8 1 1.2 Home

Page CategoryView ProductView ProductAdding to Cart C o mp let e lo a d t ime (secs)

50%

faster add to cart

End-to-end Catalog Performance

Catalog (views per hour)

1900%

improvement

500K

10M

WHY SHOULD WE UPGRADE TO MAGENTO 2.0 (Contd.)

Catalog Scalability Improvement

Magento 1.x Magento 2.0

(12)

• Simple checkout process for user, eliminating the need to choose Guest or Registered Checkout • Account set up is easy and just an extra click of the mouse

• Automated shipping and city options are available based on the zip code

• Automatic detection of credit card type by credit card number, eliminates a step for the user

Checkout Process Improvements

• An entirely new look and feel

• Ability to customize admin grid per user • Ability to add bulk images for products • Ability to add bulk pricing

• Visual editor for configurable products

Improved Backend

WHY SHOULD WE UPGRADE TO MAGENTO 2.0 (Contd.)

&

More…

• Ability to have a standalone database for order management and checkout • Better scalability

(13)

WILL THE UPGRADE TO MAGNETO 2 BE A POINT AND CLICK UPGRADE?

• Sadly, the answer is no. Unlike past upgrades, Magento 2 is a complete rework of the standard Magento platform. It is because of this rework that Magento 2 is able to provide up to 20% faster speeds, new streamlined checkout, full page caching and more.

• Due to the rework, all themes, extensions and customizations will need to be rewritten to work with Magento 2. The good news is that most theme and extension companies are already working on this and it will not be long that the most popular and best extensions and themes will be working with Magneto 2.

MEGENTO 1.9.X

MEGENTO 2.0 (BETA)

• DATABASE INITIAL HAS 333 TABLES

• SYSTEM ATTRIBUTES HAS 191 ATTRIBUTES

• DATABASE INITIAL HAS 296 TABLES

(14)

What’s more, you will be able to migrate your core data (products, customers, orders, store configurations, and promotions) from Magento 1.x to Magento 2. This will help large and multi-store merchants save quite a bit of time by eliminating the tedious task of manually entering core data.

WILL THE UPGRADE TO MAGNETO 2 BE A POINT AND CLICK UPGRADE?

1. WEBSITE, STORES

2. PRODUCT ATTRIBUTES, CUSTOM PRODUCT ATTRIBUTES

3. CATEGORIES

4. PRODUCTS

5. CUSTOMERS

6. ORDERS

7. OTHER SITE SETTINGS

PROC ES S 1 PROC ES S 2

(15)

Fear not, while Magento will discontinue updates for Magneto 1.x, they will continue to support it. However, plan to see fewer and fewer extension and themes being supported on the Magento 1.x site as the community will be focusing on Magento 2. So it’s a good idea to plan on upgrading your site, if possible.

WHAT IF I DON'T/CAN'T UPGRADE TO MAGENTO 2 RIGHT AWAY?

If you are a merchant who is already running into limitations with

MAGENTO 1.X

Now is the time to start planning your upgrade to

MEGENTO 2

(16)

MAGENTO 2.0 MIGRATION PLAN

• Using the Magento 2 Data Migration Tool, you will be able to port product, customer, and order data, promotions, and different store configurations to Magento 2. Unfortunately, there isn’t any tool for importing extensions, but the Magento development community is working on making them available for the second version of the platform. At the same time, there are tons of new opportunities for themes and

customizations.

• The level of effort to migrate from 1.x to 2.0 depends on your previous work with a website. It means that simplicity of migration is inversely proportional to a level of customization. And an average Magento 2 migration is about 20% larger than a store upgrade between 1.x versions. But how does the migration tool

look like?

• The Magento 2 Migration Tool is a data migration command-line interface solution which features progress tracking, auxiliary verification, testing functions, logging, etc. The new software allows direct data copying

between Magento 1.x and 2.0 databases.

• The migration is based on ETL – extract, transform, and load. The tool should transfer almost everything from your old store to a new one as quickly as possible. The migration of customized data is based on a declarative language. In addition, migration steps are used for making it easier to write a complex code which is necessary in a case of custom needs.

(17)

• Set up the configuration and mapping files as described in the official documentation on Magento 2 migration.

Prerequisites

• Using a replicated Magento 1.x database instance will help you a lot.

• Removing unnecessary data from a Magento 1.x database will also simplify your migration. Keep in mind, that you can remove order quotes, logs, recently viewed or compared products, event-specific categories, etc.

Don’t forget to stop administrative activities on both shops.

In a case of Magento Enterprise Edition, you could have unarchived orders – archive them.

How to simplify migration

MAGENTO 2.0 MIGRATION PLAN (Contd.)

• What extensions have you installed?

• Have you identified if you need all these extensions in your new site? (There might be old ones you can safely drop.)

• Have you determined if Magento 2.0 versions of your extensions exist? (Check with your extension providers to see if they have been ported yet.)

• What database assets from you extensions do you want to migrate?

(18)

Healthy Magento 1 Site Prep work: Port Customization, Port Design, Update 3rd Party Extensions,

Capacity Planning, Map Assembly, Migration Dry Runs Setup: Build Magento 2 Site

Site Migration Stop Activity in the Admin

Stop M1 Corn Copy Settings and Websites

Put Magento 1 Site in Maintanence

Mode Confident and Ready to Flip? Test Magento 2 Site Start the delivery of Incremental

updates Test Magento 2 Site

Run all Indexes Copy Data

Copy Media Suspend delivery of Incremental Changes Run Stock Indexer

Warm up Cache Start M2 Corn

DNS Slip End Migration Healthy Magento 2 Site Yes Not Yet

KEY

Development Activities Production Set up and Verification Production

Migration Production Migration (Downtime Shape indicates Manual Setup

(19)

• Stop all activity in the Magento 1.x Admin Panel (except for order management and shipping). Activity cannot resume until your migration is complete.

• Stop all Magento 1.x cron jobs.

• Use the migration tool to migrate settings and websites.

• Copy your Magento 1.x media assets to Magento 2.0 (You must copy these manually from <your Magento 1 install dir>/media directory to <your Magento 2 install dir>/pub/media directory.)

• Use the migration tool to bulk copy your Magento 1.x database to your Magento 2.0 database. If some of your extensions have data you want to migrate, you might need to use the mapping files provided with the migration tool.

• Reindex all Magento 2.0 indexers.

Perform the migration

• Set up a Magento 2.0 system that meets the system requirements and that uses a topology and design that at least matches your existing Magento 1.x system.

• Reduce network latency between your Magento 1.x and 2.0 systems as much as possible to improve migration performance.

• To provide redundancy in the event of unexpected issues, we advise you to replicate your Magento 1.x database. Use this replicated Magento 1.x database as the source data for migration.

How to simplify migration

(20)

The following Magento components should be migrated manually: • Extensions;

• Custom code; • Media assets;

• CSS and JavaScript; • Templates and layouts; • Credentials of web services;

Don’t migrate the data below:

• Google Shopping. • Indexed data.

• Not supported in Magento 2.0 data.

Only now you can go live

• Start the incremental migration; updates run continually. You can stop the updates at any time by pressing Control+C.

• Thoroughly test your Magento 2 site during this time so you can catch any issues as soon as possible. If you find issues, press Control+C to stop incremental migration and start it again after issues are resolved.

and the incremental migration

(21)

Sigma Infosolutions, Inc.

A TÜV Certified ISO 9001:2008 and ISO 27001:2005 Company 17310 Red Hill Ave, Suite 340, Irvine,

California 92614

Phone: +1 714 717 1826 | Fax: +1 866 405 6750 email::sales@sigmainfo.net

www.sigmainfo.net

Figure

Updating...

References

Updating...

Related subjects :