www.knowarth.com
marketing@knowarth.comKNOWARTH Technologies Pvt.Ltd.
Shabbir Challawala
Sr. Consultant(PHP)
Presenters
Shikha Bhadouria
MarketingConsultant
• Content& Inboundmarketing
• Branding
• 6+YearsofExperienceinPHP
• 4+yearsofExperience inMagento
• Executed projectsinbothCommunityandEnterpriseEdition
WhoWeAre
3
160+
Members’Team
Among
50Fastest
GrowingStartupsinIndia
(SiliconIndia)
90+
ProjectServedinlast TwoYears to
40+ ClientsDelivered
on Time,withinBudget
DELIVERING EXCELLENCE
throughOne-stop-solutionapproach
ThoughtLeaders
7Books
Authored& Reviewed
Worked on Projects for
Portal,E-Commerce,DigitalMarketing,
UX/UI,ERP,Mobility,ProductEngineering,
CloudComputingandRIMS
20Most
promisingITCompanies
inINDIA(CIOReview)
© 2016 KNOWARTHTechnologiesPvt. Ltd.
WorldwideCustomers
4© 2016 KNOWARTHTechnologiesPvt. Ltd.
Canada
USA
Norway
IndiaMiddle East
Australia
France
USA
California |Georgia |Florida |NewYork
Australia
Sydney |Melbourne
Middle East
Dubai
Europe
United Kingdom | Norway|France
MagentoServicesatKNOWARTH
MagentoThemeDevelopment
MagentoIntegrationServices
MagentoPerformance
Optimization
Magento
Support
Magento
Migration
Module
Development
KNOWARTH'sEcommerceProduct - Commercium
FashionStore Restaurant Auto Store
Home DecorStore KidsStore
OthercoreTechnology Services
7
Custom ApplicationDevelopment
Cloud Hosting& management RemoteInfrastructure
ManagementServices
EnterprisePortalDevelopment ERP
Solution
UI / UX Design& Development
PortalPerformanceand
Assessment Tuning
Mobile ApplicationDevelopment
© 2016 KNOWARTHTechnologiesPvt. Ltd.
OurPartners
8© 2016 KNOWARTHTechnologiesPvt. Ltd.
FeaturesOf Magento2
9
 Enhanced andAdvancedcodingArchitecture
 More extensiveAPIs
 UpgradingMagentobecome easy
 Enhanced checkoutflow
 Easiercheckoutprocess
 SupportFullpagecaching outofbox
 LesspreprocessorbasedUIlibrary
 Improvedindexing
 PerformanceToolkit
 Built-insupportforVarnishcache
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Why Migrateto Magento2.0
10
Better
Checkout
Built-insupport
forvarnish
Revampedadmin interface
PerformanceImprovements
Use ofAdvancedtechnology
stack
Magentowillstop givingsupportto
Magento1after2018
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Who Should Upgrade
11
MerchantswhowantstokeeptheirWebsiteup-to-datewithlatest
Magentoversion
Merchantswhowantstotake Benefitofaddedfeaturesof Magento
Merchantswhoishavingperformanceissueswiththecurrent Magento
website
© 2016 KNOWARTHTechnologiesPvt. Ltd.
MigrationProcess
Migration Process
 MigratingExtensions
 MigratingThemes
 MigratingCustomDevelopment
 MigratingSettings
 MigratingSalesInfo,Catalog,Customers,Promotional
Info,CMSPages
Migrating Code Migrating Database
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Magento’s Migration Process doesnot Includes
 MigratingMedia
 MigratingStoreFront Design(CssFiles,JsFiles, StaticImages)
 MigratingACL (API Rolesand Permission)
 MigratingAdminUsers
MigrationProcess
© 2016 KNOWARTHTechnologiesPvt. Ltd.
MigrationSteps
14
Customization,ExtensionIntegration,
MigrationDry Run
Step 1
StartMigrationProcess& StopAdmin
Activity
Step 2
StopCronsonMagento1 Site
Step 3
TestMagento2 Site
Step 8
PointYour DNS to Magento2 SiteAndSite
is Running
Step 10
StartIncrementalUpdates
Step 7
RunIndexesand
FlushCache
Step 5
CopyMediaFilesand
Css,Js Filedataon
Magento2 Store
Step 4
TestMagento2 Site
Step 6
StopIncrementalUpdate, cacheand Re-
index
Step 9
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Prerequisitefor Migration
15
DownloadingCodeMigrationTool
 Downloadcode migrationtoolfromhttps://github.com/magento/code-migrationtoyourwebrootdirectory
 Applycomposerinstallcommand toinsidecode-migrationfoldertoupdateanddownloaddependency
 MigratingfromMagento1.xto2.0hasbeenmadeeasybythetoolsprovided
 Beforewestartthemigrationweshould downloadthosetools
© 2016 KNOWARTHTechnologiesPvt. Ltd.
DownloadingCodeMigrationTool
 sourcedirectorycontainingcodetobemigrated.
 sourcedirectoryshouldnothavecorefilesandmustbein magento'sdirectory
structure
 destinationdirectorywhereconvertedcode willbecopied
 magento1directorycontainingmagento'svanillaversionand customcode
thatneedtobemigrated
 directorycontainingmagento2vanillaversion
Prerequisitefor Migration
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Prerequisitefor Migration
17
DownloadingDataMigrationTool
 Needtosetupmagento2systemno needtostartcronjobs
 CollectDBdetailsofboth Magento1.xandMagento2.xsystem
 gettheversionofyourmagento2.xand Magento1.x
 TheversionsoftheDataMigrationTooland your Magentosoftwaremustexactly
match.
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Prerequisitefor Migration
18
 go to the root directory of magento 2 and apply commands as shown below.
 Command 1:
 composer config repositories.data-migration-tool git https://github.com/magento/data-migration-tool
 Command 2:
 composer require magento/data-migration-tool:<version>
 <version> is the version of your magento 2.x system
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Prerequisitefor Migration
19
 gotovendor/magento/data-migration-tool/etc/<migrationedition>/<ceorversion>
 renameconfig.xml.disttoconfig.xmlandopenthefile
 updatedbinfoforsourceanddestination
© 2016 KNOWARTHTechnologiesPvt. Ltd.
MigrationExtensions
20
 Findoutifextensionproviderhascreatedmodule inm2
 Ifanychangeindb schemaofm2module thenneedtoadditindatamigration
configurationfile(map.xml)
 Ifm2versionofextensionisnotavailablethenneedtomigratemodule manuallyor
throughcode migrationtool
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Code MigrationTool
21
 Codemigrationhasbeendividedinfoursteps
DirectoryStructureMigrate Migrating
Layout
Migrating
Configuration
Migrating
PHPCode
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Code MigrationTool
22
 After configuringcode migrationtools, belowcommand needto berun formigrating
 phpbin/migrate.phpmigrateModuleStructure <src><dst>.
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Code MigrationTool
 After configuringcode migrationtools, belowcommand needto berun formigrating
 phpbin/migrate.phpmigrateModuleStructure <src><dst>.
 It will createmodule structureat destinationto allowcodemigrationin next steps)
 phpbin/migrate.phpconvertLayout<dst>
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Code MigrationTool
Thiswill convert layoutfilesasper magento2 standard,individualxml for eachaction)
 phpbin/migrate.phpconvertConfig<dst>.
 Thisstepwill convertconfigurationto magento2, it will createseparatefilesforevents, routes,systemconfigurationetc.
 phpbin/migrate.phpconvertPhpCode<dst><m1> <m2> .
(Thisisfinalstepandwill copy businesslogicfrom m1 versionto m2 version,basicallyconvert syntaxof mage classto classpathasper m2 standard)
© 2016 KNOWARTHTechnologiesPvt. Ltd.
 Therearenodefaulttoolsavailablefor thememigration
 Themingin magento 2 is completelydifferentthenmagento 1 asmagento 2 is using
lesspre-processorsandmodularisestructureof template
 Will requirefrontenddeveloperto migrate theme to m2
ThemeMigration
© 2016 KNOWARTHTechnologiesPvt. Ltd.
DataMigrationTool
26
MigratingDatais divided in three parts:
MigratingSettings
MigratingData
MigratingDelta
© 2016 KNOWARTHTechnologiesPvt. Ltd.
DataMigrationTool
27
Migrating Settings
 Some settingsareignored, somesettingspathneedto be renamed,somesettingrequireschanging value like
encrypteddataaskey changesin magento2.
 vendormagentodata-migration-tooletcce-to-cesetting.xmlfile containsinformationof settings
changes
 Ifanyothercustomsettingshasbeengenerated,it willtransferautomaticallytothemagento2asmigration
processrun.Needtoaddinignorelistifdonotwantit inmagento2
 Changesmadeinothercoresettingswillbeautomaticallybetransferredtomagento2
 CommandtorunSettingmigration
 Configurationwhichhasnotbeenmodifiedin magento1.x willnotbemigrated.theymaybedifferentin
magento2
 phpbin/magentomigrate:settings--resetD:xamphtdocsm2vendormagentodata-migration-
tooletcce-to-ce1.9.2.1config.xml.
© 2016 KNOWARTHTechnologiesPvt. Ltd.
DataMigrationTool
28
MigratingData
 Ifanycustomcolumnaddedneedtoadditin map.xmlforignoringitortransformingittomagento2.
 Youcan renamedocument(table),renamefieldusing field_rules=>moveortransformusinghandlers.Forcustomlogic, you mayhavetowritecustom
handlers
 phpbin/magentomigrate:data--resetD:xamphtdocsm2vendormagentodata-migration-tooletcce-to-ce1.9.2.1config.xml.
© 2016 KNOWARTHTechnologiesPvt. Ltd.
DataMigrationTool
29
MigratingDelta
 While migratinglivesites,thereare somedatawhichkeepupdatingthroughoutdaylike
orderinformation,customerinformationetc
 Sotomigratethosechangeswhichhasbeenmadepostmigration, magentoprovideDelta
migration
© 2016 KNOWARTHTechnologiesPvt. Ltd.
Benchmarking
177k
Products
355k
Orders
214k
Customers
PerformanceResults
 Settingsmigrationtime:~10mins
 Datamigrationtime:~9hrs(alldataexceptURLRewrites,~85%oftotaldata)
 Sitedowntimeestimate:A fewminutestoreindexand changeDNSsettings.Additionaltimerequiredto“warmup” thepagecache
© 2016 KNOWARTHTechnologiesPvt. Ltd.
KNOWARTH’sMigrationProjectsExecuted
6000
Products
1000+
Orders
570
Customers
Online GroceryStore
2500
Products
250
Customers
Online Art Gallery
100+
Orders
42
categories
Email us: marketing@knowarth.com
© 2016 KNOWARTHTechnologiesPvt. Ltd.
THANK YOU
KNOWARTHTechnologies Pvt.Ltd.
INDIA: 11, AryanCorporatePark, Nr. ShilajRailwayCrossing,Thaltej,Ahmedabad– 380059,Gujarat, INDIA
USA: One Commerce Center,1201 OrangeStreet#600, Wilmington, DE – 19899
Email: marketing@knowarth.com | Website:www.knowarth.com
© 2016 KNOWARTHTechnologiesPvt. Ltd.

Migrating Magento 1.x to Magento 2.0

Editor's Notes

  • #2  Increase Agility: The speed and response of your business to meet demand or customer need is substantially improved – allowing you to beat the competition at almost every turn. Improved Decision Making: Access to key, important information – quickly and simply – ensures that you have the right data to make the best decisions no matter where it is in the organization or across your value chain. Shrinking Distances and Time: You can utilize the very best minds, skills, and experience – irrespective of location; you can create a truly 24/7 presence to your customer.