Creating Value through Innovation MAGENTO 1.X TO MAGENTO 2.0 MIGRATION
AGENDA 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 Magento Migration 2
OVERVIEW OF MAGENTO 2.0 Magento 2.0 will allow faster time to market and lower development costs. It comes with a relatively modern code base that allows cleaner Magento 2 Goals Why Magento 2? Installation and upgrades Modernize web and technology stack Reduced time to market Easy customization Less development and long-term maintenance cost Simplify external integrations Enhanced flexibility Robust scalability and performance Consistent branding Installation procedure improvements Better email marketing campaign performance Better quality, testing resources and documentation 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 Migration 3
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. Magento Migration 4
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. Magento Migration 5
MAGENTO 2.0 KEY UPDATES New included technologies 01 07 Better engagement with the community Improved customization process 02 06 New documentation & testing resources Easier frontend development 03 05 Improved scalability & performance 04 Reduced upgrade costs and efforts Magento Migration 6
MAGENTO 2.0 KEY UPDATES (Contd.) 01 The New included technologies 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. 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 Magento Migration 7
MAGENTO 2.0 KEY UPDATES (Contd.) 02 Improved customization process 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. 03 Easier frontend development 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. 04 Reduced upgrade costs and efforts 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. Magento Migration 8
MAGENTO 2.0 KEY UPDATES (Contd.) 05 Improved scalability and performance 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. 06 New level of quality, documentation and testing resources 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. 07 Better engagement with the community 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. Magento Migration 9
WHY SHOULD WE UPGRADE TO MAGENTO 2.0 When Should I Upgrade to Magento 2? 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. What is the Difference Between Magento 1.x and Magento 2.0? 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: PERFORMANCE IMPROVEMENTS Full page caching Varnish 4 support Compatibility with HHVM3.6 Layout performance improvements Static content caching in browser Reduced JS code Effective image compressing Magento Migration 10
Scenario time (secs) Complete load time (secs) WHY SHOULD WE UPGRADE TO MAGENTO 2.0 (Contd.) End-to-end Catalog Performance Catalog Scalability Improvement 10M 3 2.5 2 Megento Magento 1.x 1.x Megento Magento 2.0 2.0 1.2 1 1.5 0.8 1 0.5 0.6 0.4 0.2 500K 0 Browsing Scenario 25% faster out of the box 0 Home Page Category View Product View Adding Product to Cart 50% faster add to cart Catalog (views per hour) 1900% improvement Magento Migration 11
WHY SHOULD WE UPGRADE TO MAGENTO 2.0 (Contd.) Database Improvements Ability to have a standalone database for order management and checkout Better scalability Checkout Process Improvements 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 Improved Backend 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 & More Magento Migration 12
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 SYSTEM ATTRIBUTES HAS 129 ATTRIBUTES Magento Migration 13
WILL THE UPGRADE TO MAGNETO 2 BE A POINT AND CLICK UPGRADE? 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. 1. WEBSITE, STORES 2. PRODUCT ATTRIBUTES, CUSTOM PRODUCT ATTRIBUTES 3. CATEGORIES 4. PRODUCTS 5. CUSTOMERS 6. ORDERS 7. OTHER SITE SETTINGS PROCESS 1 PROCESS 2 Magento Migration 14
WHAT IF I DON'T/CAN'T UPGRADE TO MAGENTO 2 RIGHT AWAY? 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. 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 If you have any questions about the Magento 2 features, improvements or the launch, contact us and we'll be glad to do whatever we can to help you with your Magento needs. Magento Migration 15
MAGENTO 2.0 MIGRATION PLAN Migration from Magento 1.x to Magento 2.0 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. Magento Migration 16
MAGENTO 2.0 MIGRATION PLAN (Contd.) How to simplify migration 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. Prerequisites Set up the configuration and mapping files as described in the official documentation on Magento 2 migration. Prepare your Magento 1.x website 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? Magento Migration 17
PLAN YOUR GROWTH KEY Development Activities Production Set up and Verification Production Migration Production Migration (Downtime Shape indicates Manual Setup Healthy Magento 1 Site Copy Media Suspend delivery of Incremental Changes Prep work: Port Customization, Port Design, Update 3 rd Party Extensions, Capacity Planning, Map Assembly, Migration Dry Runs Copy Data Run Stock Indexer Run all Indexes Warm up Cache Setup: Build Magento 2 Site Test Magento 2 Site Start M2 Corn Site Migration Start the delivery of Incremental updates DNS Slip Stop Activity in the Admin Test Magento 2 Site End Migration Stop M1 Corn Confident and Ready to Flip? Not Yet Healthy Magento 2 Site Yes Copy Settings and Websites Put Magento 1 Site in Maintanence Mode Magento Migration 18
MAKE YOUR FIRST STEPS WITH MAGENTO 2 How to simplify 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. Perform the migration 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. Thoroughly test your Magento 2.0 Site. Make sure you can place orders using all configured payment processors. Magento Migration 19
MAKE YOUR FIRST STEPS WITH MAGENTO 2 and the incremental migration 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. Only now you can go live 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. Magento Migration 20
CONTACT 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