Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Migrating Magento 1.x to Magento 2.0

225 views

Published on

Magento 2.0 empowers your team to enhance sales, provides intuitive merchant experience and has modern platform architecture. Magento 2.0 comes with features that make it a better platform overall.

If you have the requirement document ready, please email us at marketing@knowarth.com

Get a Free Quote: http://www.knowarth.com/magento-migration-services/

Published in: Technology
  • Login to see the comments

Migrating Magento 1.x to Magento 2.0

  1. 1. www.knowarth.com marketing@knowarth.comKNOWARTH Technologies Pvt.Ltd.
  2. 2. Shabbir Challawala Sr. Consultant(PHP) Presenters Shikha Bhadouria MarketingConsultant • Content& Inboundmarketing • Branding • 6+YearsofExperienceinPHP • 4+yearsofExperience inMagento • Executed projectsinbothCommunityandEnterpriseEdition
  3. 3. 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.
  4. 4. 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
  5. 5. MagentoServicesatKNOWARTH MagentoThemeDevelopment MagentoIntegrationServices MagentoPerformance Optimization Magento Support Magento Migration Module Development
  6. 6. KNOWARTH'sEcommerceProduct - Commercium FashionStore Restaurant Auto Store Home DecorStore KidsStore
  7. 7. 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.
  8. 8. OurPartners 8© 2016 KNOWARTHTechnologiesPvt. Ltd.
  9. 9. FeaturesOf Magento2 9  Enhanced andAdvancedcodingArchitecture  More extensiveAPIs  UpgradingMagentobecome easy  Enhanced checkoutflow  Easiercheckoutprocess  SupportFullpagecaching outofbox  LesspreprocessorbasedUIlibrary  Improvedindexing  PerformanceToolkit  Built-insupportforVarnishcache © 2016 KNOWARTHTechnologiesPvt. Ltd.
  10. 10. Why Migrateto Magento2.0 10 Better Checkout Built-insupport forvarnish Revampedadmin interface PerformanceImprovements Use ofAdvancedtechnology stack Magentowillstop givingsupportto Magento1after2018 © 2016 KNOWARTHTechnologiesPvt. Ltd.
  11. 11. Who Should Upgrade 11 MerchantswhowantstokeeptheirWebsiteup-to-datewithlatest Magentoversion Merchantswhowantstotake Benefitofaddedfeaturesof Magento Merchantswhoishavingperformanceissueswiththecurrent Magento website © 2016 KNOWARTHTechnologiesPvt. Ltd.
  12. 12. MigrationProcess Migration Process  MigratingExtensions  MigratingThemes  MigratingCustomDevelopment  MigratingSettings  MigratingSalesInfo,Catalog,Customers,Promotional Info,CMSPages Migrating Code Migrating Database © 2016 KNOWARTHTechnologiesPvt. Ltd.
  13. 13. Magento’s Migration Process doesnot Includes  MigratingMedia  MigratingStoreFront Design(CssFiles,JsFiles, StaticImages)  MigratingACL (API Rolesand Permission)  MigratingAdminUsers MigrationProcess © 2016 KNOWARTHTechnologiesPvt. Ltd.
  14. 14. 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.
  15. 15. Prerequisitefor Migration 15 DownloadingCodeMigrationTool  Downloadcode migrationtoolfromhttps://github.com/magento/code-migrationtoyourwebrootdirectory  Applycomposerinstallcommand toinsidecode-migrationfoldertoupdateanddownloaddependency  MigratingfromMagento1.xto2.0hasbeenmadeeasybythetoolsprovided  Beforewestartthemigrationweshould downloadthosetools © 2016 KNOWARTHTechnologiesPvt. Ltd.
  16. 16. DownloadingCodeMigrationTool  sourcedirectorycontainingcodetobemigrated.  sourcedirectoryshouldnothavecorefilesandmustbein magento'sdirectory structure  destinationdirectorywhereconvertedcode willbecopied  magento1directorycontainingmagento'svanillaversionand customcode thatneedtobemigrated  directorycontainingmagento2vanillaversion Prerequisitefor Migration © 2016 KNOWARTHTechnologiesPvt. Ltd.
  17. 17. Prerequisitefor Migration 17 DownloadingDataMigrationTool  Needtosetupmagento2systemno needtostartcronjobs  CollectDBdetailsofboth Magento1.xandMagento2.xsystem  gettheversionofyourmagento2.xand Magento1.x  TheversionsoftheDataMigrationTooland your Magentosoftwaremustexactly match. © 2016 KNOWARTHTechnologiesPvt. Ltd.
  18. 18. 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.
  19. 19. Prerequisitefor Migration 19  gotovendor/magento/data-migration-tool/etc/<migrationedition>/<ceorversion>  renameconfig.xml.disttoconfig.xmlandopenthefile  updatedbinfoforsourceanddestination © 2016 KNOWARTHTechnologiesPvt. Ltd.
  20. 20. MigrationExtensions 20  Findoutifextensionproviderhascreatedmodule inm2  Ifanychangeindb schemaofm2module thenneedtoadditindatamigration configurationfile(map.xml)  Ifm2versionofextensionisnotavailablethenneedtomigratemodule manuallyor throughcode migrationtool © 2016 KNOWARTHTechnologiesPvt. Ltd.
  21. 21. Code MigrationTool 21  Codemigrationhasbeendividedinfoursteps DirectoryStructureMigrate Migrating Layout Migrating Configuration Migrating PHPCode © 2016 KNOWARTHTechnologiesPvt. Ltd.
  22. 22. Code MigrationTool 22  After configuringcode migrationtools, belowcommand needto berun formigrating  phpbin/migrate.phpmigrateModuleStructure <src><dst>. © 2016 KNOWARTHTechnologiesPvt. Ltd.
  23. 23. 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.
  24. 24. 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.
  25. 25.  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.
  26. 26. DataMigrationTool 26 MigratingDatais divided in three parts: MigratingSettings MigratingData MigratingDelta © 2016 KNOWARTHTechnologiesPvt. Ltd.
  27. 27. 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.
  28. 28. 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.
  29. 29. DataMigrationTool 29 MigratingDelta  While migratinglivesites,thereare somedatawhichkeepupdatingthroughoutdaylike orderinformation,customerinformationetc  Sotomigratethosechangeswhichhasbeenmadepostmigration, magentoprovideDelta migration © 2016 KNOWARTHTechnologiesPvt. Ltd.
  30. 30. 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.
  31. 31. 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
  32. 32. © 2016 KNOWARTHTechnologiesPvt. Ltd.
  33. 33. 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.

×