How to migrate from Magento 1 to Magento 2

Matthias Glitzner-Zeis
Matthias Glitzner-ZeisCTO um LIMESODA
Migrating
from Magento 1
to Magento 2
Matthias Zeis
23.06.2016
Vienna, Austria
mzeis
mzeis
mzeis
matthias-zeis.com
Who of you
works with Magento 1?
Who of you
works with Magento 2?
Who of you
will migrate a store
to Magento 2?
SCENARIO
Merchant wants to migrate
from M1 to M2
© Rebecca Slegel
WHAT?
WHEN?
HOW?
DATA
CODE
THEME
Treat it like a platform
switch
because it is
MIGRATING DATA
Core data
3rd party data
Your data
© Ron Cogswell
Official
data migration tool
magento/data-migration-tool
Does
Products & categories
Orders & Invoices
Shipments & credit memos
Core Configuration
Customers
Wishlists & Ratings
Does Doesn‘t
Products & categories
Orders & Invoices
Shipments & credit memos
Core Configuration
Customers
Catalog DB layout updates
Web API credentials
Wishlists & Ratings
Admin users & privileges
Media files
Custom data
3rd party data
1
Add repository
composer config repositories.data-migration-tool
git https://github.com/magento/data-migration-tool
2 Install tool
composer require magento/data-migration-tool:<version>
3
Configure
http://devdocs.magento.com/guides/v2.0/migration/migra
tion-tool-configure.html
1 Migrate settings
php bin/magento migrate:settings /path/to/config.xml
2 Migrate data
php bin/magento migrate:data /path/to/config.xml
3 Migrate delta
php bin/magento migrate:delta /path/to/config.xml
Add mappings for custom
tables and table columns
COPY IGNORE RENAME TRANSFORM
A FEW LEARNINGS
(a.k.a. what bit me)
Massive tool
Team is working on it
Massive tool
Team is working on it
Schedule time
Clean up your data
Automate the process
Make tool run through first,
then configure properly
Organise config files
Configure
extension data migration
manually
Test delta migration
thoroughly
Alternatives
ubertheme/module-ubdatamigration
Alternative to official data migration tool
firegento/FireGento_FastSimpleImport2
Wrapper for Magento 2 ImportExport functionality
firegento/FireGento_ExtendedImport2
Extended features for Import (ported from AvS_FastSimpleImport)
MIGRATING CODE
3rd party code
Your code
© Peter Gronemann
3rd party
functionality
3rd party
functionality
needed
in new store?
3rd party
functionality
DELETE
needed
in new store?
missing
in M2 core?
no
yes
3rd party
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
continue
with vendor?
no no
yes yes
3rd party
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
continue
with vendor?
other 3rd party
or custom?
no no
yes yes
no
3rd party
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
continue
with vendor?
other 3rd party
or custom?
OTHER
3RD PARTY
DO IT
YOURSELF
no no
3rd party custom
yes yes
no
3rd party
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
continue
with vendor?
other 3rd party
or custom?
M2 extension
available?
OTHER
3RD PARTY
DO IT
YOURSELF
no no
3rd party custom
yes yes yes
no
3rd party
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
continue
with vendor?
other 3rd party
or custom?
M2 extension
available?
OTHER
3RD PARTY
DO IT
YOURSELF
USE M2
EXTENSION
no no
3rd party custom
yes yes yes yes
no no
your M1
functionality
your M1
functionality
needed
in new store?
your M1
functionality
DELETE
needed
in new store?
missing
in M2 core?
no
yes
your M1
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
3rd party
or custom?
no no
yes yes
your M1
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
3rd party
or custom?
3RD PARTY
DO IT
YOURSELF
no no 3rd party custom
yes yes
your M1
functionality
DELETE
needed
in new store?
missing
in M2 core?
USE
M2 CORE
3rd party
or custom?
3RD PARTY
DO IT
YOURSELF
no no 3rd party custom
yes yes
REWRITE?
MIGRATE?
rewrite extension
automated testing
document
M1 behaviour
platform
independent code
coding standards
rewrite extension
automated testing
document
M1 behaviour
platform
independent code
coding standards
Awesome integer_net article series:
https://www.integer-net.com/magento-
1-magento-2-shared-code-extensions/
migrate extension
clean M1 code
document
M1 behaviour
platform
independent code
refactor
Official
code migration tool
magento/code-migration
Does
Namespaces
Configuration XML files
Layout XML files
Magento code interaction
Module directory structure
Does Doesn‘t
Namespaces
Configuration XML files
Layout XML files
Magento code interaction
Module directory structure
Template files & design
Changes in business logic
1 Get code
git clone https://github.com/magento/code-migration
2 Install tool
composer install
<src> Code to be migrated (excluding core)
Prerequisites
<m1> M1 project code including vanilla core
<m2> M2 vanilla core
<dst> Empty directory for generated code
1 Migrate directory structure
php bin/migrate.php migrateModuleStructure <src> <dst>
2 Migrate layout
php bin/migrate.php convertLayout <dst>
3 Migrate configuration
php bin/migrate.php convertConfig <dst>
4 Migrate PHP code
php bin/migrate.php convertPhpCode <dst> <m1> <m2>
Don‘t get confused
with directories
How to migrate from Magento 1 to Magento 2
USE
OUT OF THE BOX
MAPPING
Is your Magento 1 version
current?
noyes GENERATE
YOUR OWN
MAPPING
1 php bin/utils.php generateClassDependency <m1>
2 php bin/utils.php generateClassMapping <m1> <m2>
3 php bin/utils.php generateModuleMapping <m1> <m2>
4 php bin/utils.php generateTableNamesMapping <m1>
5 php bin/utils.php generateViewMapping <m1> <m2>
6 php bin/migrate.php generateAliasMapping <m1> <m2>
7 php bin/migrate.php generateAliasMappingEE <m1> <m2>
Generating mappings
yourself can be tricky
How to migrate from Magento 1 to Magento 2
Double-check
what was (not) converted
1 Be pragmatic
2 Work together
3 Learn together
Imagine 2016 migration tool presentation by Sergii Shymko
http://imagine.magento.com/sites/default/files/Mon.Margaux1.1
630.SS7%2C8.Technical.pdf
Migration diary by Max Pronko
http://www.maxpronko.com/blog/tag:migration
Resources
Official data migration guide
http://devdocs.magento.com/guides/v2.0/migration/bk-
migration-guide.html
Data migration experience by Marcin Szterling (English, Youtube)
Marcin Szterling - Data Migration from Magento 1 to Magento 2
Resources
Data migration experience by Sven Wappler (German)
https://www.wapplersystems.de/blog/slides-zum-vortrag-
magento-002-migriere-an-einem-anderen-tag-sind-online/
Data migration experience by Eugen Bogdanovich (English)
http://oyenetwork.com/articles/data-migration-to-magento2-
case-study/
Resources
Matthias Zeis
mzeis
mzeis
mzeis
matthias-zeis.com
Thank you! Questions?
Matthias Zeis
mzeis
mzeis
mzeis
matthias-zeis.com
Thank you! Questions?
Slides will be online:
http://www.slideshare.net/mzeis/
Matthias Zeis
mzeis
mzeis
mzeis
matthias-zeis.com
Thank you! Questions?
Slides will be online:
http://www.slideshare.net/mzeis/
LimeSoda is hiring!
https://www.limesoda.com/jobs/
1 von 64

Recomendados

Migrating from Magento 1 to Magento 2 von
Migrating from Magento 1 to Magento 2Migrating from Magento 1 to Magento 2
Migrating from Magento 1 to Magento 2Matthias Glitzner-Zeis
3.2K views73 Folien
Sergii Shymko - Code migration tool for upgrade to Magento 2 von
Sergii Shymko - Code migration tool for upgrade to Magento 2Sergii Shymko - Code migration tool for upgrade to Magento 2
Sergii Shymko - Code migration tool for upgrade to Magento 2Meet Magento Italy
18.2K views22 Folien
Outlook on Magento 2 von
Outlook on Magento 2Outlook on Magento 2
Outlook on Magento 2Matthias Glitzner-Zeis
7.5K views23 Folien
Magento 2 overview. Alan Kent von
Magento 2 overview. Alan Kent Magento 2 overview. Alan Kent
Magento 2 overview. Alan Kent MeetMagentoNY2014
13.1K views37 Folien
Magento 1.x to Magento 2 Code Migration Tools von
Magento 1.x to Magento 2 Code Migration ToolsMagento 1.x to Magento 2 Code Migration Tools
Magento 1.x to Magento 2 Code Migration ToolsSergii Shymko
1.4K views22 Folien
Magento 2 Code Migration Tool von
Magento 2 Code Migration ToolMagento 2 Code Migration Tool
Magento 2 Code Migration ToolSergii Shymko
219 views22 Folien

Más contenido relacionado

Was ist angesagt?

Federico Soich - Upgrading Magento Version von
Federico Soich - Upgrading Magento VersionFederico Soich - Upgrading Magento Version
Federico Soich - Upgrading Magento VersionMeet Magento Italy
463 views33 Folien
Magento 2 Development for PHP Developers von
Magento 2 Development for PHP DevelopersMagento 2 Development for PHP Developers
Magento 2 Development for PHP DevelopersJoshua Warren
3K views83 Folien
Magento 2: A technical overview von
Magento 2: A technical overviewMagento 2: A technical overview
Magento 2: A technical overviewX.commerce
4.7K views42 Folien
Fundamentals of Extending Magento 2 - php[world] 2015 von
Fundamentals of Extending Magento 2 - php[world] 2015Fundamentals of Extending Magento 2 - php[world] 2015
Fundamentals of Extending Magento 2 - php[world] 2015David Alger
12.6K views55 Folien
Sergii Shymko: Magento 2: Composer for Extensions Distribution von
Sergii Shymko: Magento 2: Composer for Extensions DistributionSergii Shymko: Magento 2: Composer for Extensions Distribution
Sergii Shymko: Magento 2: Composer for Extensions DistributionMeet Magento Italy
8.6K views30 Folien
Meet Magento Belarus - Sergey Ivashchenko von
Meet Magento Belarus - Sergey IvashchenkoMeet Magento Belarus - Sergey Ivashchenko
Meet Magento Belarus - Sergey IvashchenkoAmasty
38.9K views24 Folien

Was ist angesagt?(20)

Magento 2 Development for PHP Developers von Joshua Warren
Magento 2 Development for PHP DevelopersMagento 2 Development for PHP Developers
Magento 2 Development for PHP Developers
Joshua Warren3K views
Magento 2: A technical overview von X.commerce
Magento 2: A technical overviewMagento 2: A technical overview
Magento 2: A technical overview
X.commerce4.7K views
Fundamentals of Extending Magento 2 - php[world] 2015 von David Alger
Fundamentals of Extending Magento 2 - php[world] 2015Fundamentals of Extending Magento 2 - php[world] 2015
Fundamentals of Extending Magento 2 - php[world] 2015
David Alger12.6K views
Sergii Shymko: Magento 2: Composer for Extensions Distribution von Meet Magento Italy
Sergii Shymko: Magento 2: Composer for Extensions DistributionSergii Shymko: Magento 2: Composer for Extensions Distribution
Sergii Shymko: Magento 2: Composer for Extensions Distribution
Meet Magento Italy8.6K views
Meet Magento Belarus - Sergey Ivashchenko von Amasty
Meet Magento Belarus - Sergey IvashchenkoMeet Magento Belarus - Sergey Ivashchenko
Meet Magento Belarus - Sergey Ivashchenko
Amasty38.9K views
Magento 2 Changes Overview von Sergii Shymko
Magento 2 Changes OverviewMagento 2 Changes Overview
Magento 2 Changes Overview
Sergii Shymko383 views
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015 von Joshua Warren
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Joshua Warren8.1K views
Magento 2: New and Innovative? - php[world] 2015 von David Alger
Magento 2: New and Innovative? - php[world] 2015Magento 2: New and Innovative? - php[world] 2015
Magento 2: New and Innovative? - php[world] 2015
David Alger573 views
Igor Bondarenko - Magento2 Performance Bottlenecks: How to avoid it von Meet Magento Italy
Igor Bondarenko - Magento2 Performance Bottlenecks: How to avoid itIgor Bondarenko - Magento2 Performance Bottlenecks: How to avoid it
Igor Bondarenko - Magento2 Performance Bottlenecks: How to avoid it
Meet Magento Italy674 views
Black Magic of Code Generation in Magento 2 von Sergii Shymko
Black Magic of Code Generation in Magento 2Black Magic of Code Generation in Magento 2
Black Magic of Code Generation in Magento 2
Sergii Shymko1.5K views
When to Code / Config / Config + Code in Salesforce - Nikunj Doshi von Sakthivel Madesh
When to Code / Config / Config + Code in Salesforce - Nikunj DoshiWhen to Code / Config / Config + Code in Salesforce - Nikunj Doshi
When to Code / Config / Config + Code in Salesforce - Nikunj Doshi
Sakthivel Madesh110 views
Mage Titans USA 2016 M2 deployment von Olga Kopylova
Mage Titans USA 2016  M2 deploymentMage Titans USA 2016  M2 deployment
Mage Titans USA 2016 M2 deployment
Olga Kopylova5.7K views
Magento 2 Module in 50 Minutes von Ben Marks
Magento 2 Module in 50 MinutesMagento 2 Module in 50 Minutes
Magento 2 Module in 50 Minutes
Ben Marks648 views
LavaCon 2017 - Implementing a Customer Driven Transition to DITA - Part 1 von Jack Molisani
LavaCon 2017 - Implementing a Customer Driven Transition to DITA - Part 1LavaCon 2017 - Implementing a Customer Driven Transition to DITA - Part 1
LavaCon 2017 - Implementing a Customer Driven Transition to DITA - Part 1
Jack Molisani109 views
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016 von Joshua Warren
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Joshua Warren1.2K views
Ups and Downs of Real Projects Based on Magento 2 von Max Pronko
Ups and Downs of Real Projects Based on Magento 2Ups and Downs of Real Projects Based on Magento 2
Ups and Downs of Real Projects Based on Magento 2
Max Pronko957 views
Php Model-View-Controller Frameworks von David Badura
Php Model-View-Controller FrameworksPhp Model-View-Controller Frameworks
Php Model-View-Controller Frameworks
David Badura707 views
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015 von Joshua Warren
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Joshua Warren2.8K views
Spring ‘21 Developer Release Notes & Summer ‘21 Preparation - Andrew Whitten von Sakthivel Madesh
Spring ‘21 Developer Release Notes & Summer ‘21 Preparation - Andrew WhittenSpring ‘21 Developer Release Notes & Summer ‘21 Preparation - Andrew Whitten
Spring ‘21 Developer Release Notes & Summer ‘21 Preparation - Andrew Whitten
Sakthivel Madesh138 views

Destacado

MM15AR - Magento 2: Basado en una historia real von
MM15AR - Magento 2: Basado en una historia realMM15AR - Magento 2: Basado en una historia real
MM15AR - Magento 2: Basado en una historia realFacundo Capua
835 views64 Folien
Yazeed kay-ghazi von
Yazeed kay-ghaziYazeed kay-ghazi
Yazeed kay-ghaziYounas Aziz
219 views18 Folien
Cv bank pa von
Cv bank paCv bank pa
Cv bank paVijaya_varma
262 views7 Folien
Nutrifit parcial vane von
Nutrifit parcial vaneNutrifit parcial vane
Nutrifit parcial vanevanessaghia12
361 views10 Folien
Clustering Financial Time Series using their Correlations and their Distribut... von
Clustering Financial Time Series using their Correlations and their Distribut...Clustering Financial Time Series using their Correlations and their Distribut...
Clustering Financial Time Series using their Correlations and their Distribut...Gautier Marti
523 views35 Folien
Health & safety officer performance appraisal von
Health & safety officer performance appraisalHealth & safety officer performance appraisal
Health & safety officer performance appraisalsandersjamie999
7.2K views19 Folien

Destacado(17)

MM15AR - Magento 2: Basado en una historia real von Facundo Capua
MM15AR - Magento 2: Basado en una historia realMM15AR - Magento 2: Basado en una historia real
MM15AR - Magento 2: Basado en una historia real
Facundo Capua835 views
Clustering Financial Time Series using their Correlations and their Distribut... von Gautier Marti
Clustering Financial Time Series using their Correlations and their Distribut...Clustering Financial Time Series using their Correlations and their Distribut...
Clustering Financial Time Series using their Correlations and their Distribut...
Gautier Marti523 views
Health & safety officer performance appraisal von sandersjamie999
Health & safety officer performance appraisalHealth & safety officer performance appraisal
Health & safety officer performance appraisal
sandersjamie9997.2K views
Bartha_Éva_Lili-A_matroid_és_gráfelmélet_összefüggései - MSc_Diplomamunka von Lili Eva Bartha
Bartha_Éva_Lili-A_matroid_és_gráfelmélet_összefüggései - MSc_DiplomamunkaBartha_Éva_Lili-A_matroid_és_gráfelmélet_összefüggései - MSc_Diplomamunka
Bartha_Éva_Lili-A_matroid_és_gráfelmélet_összefüggései - MSc_Diplomamunka
Lili Eva Bartha359 views
On the stability of clustering financial time series von Gautier Marti
On the stability of clustering financial time seriesOn the stability of clustering financial time series
On the stability of clustering financial time series
Gautier Marti860 views
International Coaching News article page 3 von Christine Charles
International Coaching News article page 3International Coaching News article page 3
International Coaching News article page 3
Christine Charles435 views
Yasemin yilmazer latifepalta_zeynepucar von zeynepucarr
Yasemin yilmazer latifepalta_zeynepucarYasemin yilmazer latifepalta_zeynepucar
Yasemin yilmazer latifepalta_zeynepucar
zeynepucarr231 views
Clustering CDS: algorithms, distances, stability and convergence rates von Gautier Marti
Clustering CDS: algorithms, distances, stability and convergence ratesClustering CDS: algorithms, distances, stability and convergence rates
Clustering CDS: algorithms, distances, stability and convergence rates
Gautier Marti662 views

Similar a How to migrate from Magento 1 to Magento 2

Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf... von
Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf...Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf...
Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf...Thoughtworks
923 views41 Folien
Magento 2 community edition and enterprise edition what suits you best von
Magento 2 community edition and enterprise edition  what suits you bestMagento 2 community edition and enterprise edition  what suits you best
Magento 2 community edition and enterprise edition what suits you bestIDS Logic Pvt. Ltd.
302 views14 Folien
Magento vs big commerce a detailed comparison guide - ziffity von
Magento vs big commerce  a detailed comparison guide - ziffityMagento vs big commerce  a detailed comparison guide - ziffity
Magento vs big commerce a detailed comparison guide - ziffityZiffity Solutions LLC
74 views15 Folien
FME:23 for the Enterprise - A Deep Dive into Key New Features von
FME:23 for the Enterprise - A Deep Dive into Key New FeaturesFME:23 for the Enterprise - A Deep Dive into Key New Features
FME:23 for the Enterprise - A Deep Dive into Key New FeaturesSafe Software
1.4K views68 Folien
Dynamics 365 Business Central Wave 2 - Fast Tracks von
Dynamics 365 Business Central Wave 2 - Fast TracksDynamics 365 Business Central Wave 2 - Fast Tracks
Dynamics 365 Business Central Wave 2 - Fast TracksRoberto Stefanetti
396 views25 Folien
Prime Reasons Behind The Success Of Magento 2 von
Prime Reasons Behind The Success Of Magento 2 Prime Reasons Behind The Success Of Magento 2
Prime Reasons Behind The Success Of Magento 2 M-Connect Media
1.1K views15 Folien

Similar a How to migrate from Magento 1 to Magento 2(20)

Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf... von Thoughtworks
Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf...Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf...
Building application in a "Microfrontends" way - Prasanna N Venkatesen *XConf...
Thoughtworks923 views
Magento 2 community edition and enterprise edition what suits you best von IDS Logic Pvt. Ltd.
Magento 2 community edition and enterprise edition  what suits you bestMagento 2 community edition and enterprise edition  what suits you best
Magento 2 community edition and enterprise edition what suits you best
Magento vs big commerce a detailed comparison guide - ziffity von Ziffity Solutions LLC
Magento vs big commerce  a detailed comparison guide - ziffityMagento vs big commerce  a detailed comparison guide - ziffity
Magento vs big commerce a detailed comparison guide - ziffity
FME:23 for the Enterprise - A Deep Dive into Key New Features von Safe Software
FME:23 for the Enterprise - A Deep Dive into Key New FeaturesFME:23 for the Enterprise - A Deep Dive into Key New Features
FME:23 for the Enterprise - A Deep Dive into Key New Features
Safe Software1.4K views
Dynamics 365 Business Central Wave 2 - Fast Tracks von Roberto Stefanetti
Dynamics 365 Business Central Wave 2 - Fast TracksDynamics 365 Business Central Wave 2 - Fast Tracks
Dynamics 365 Business Central Wave 2 - Fast Tracks
Roberto Stefanetti396 views
Prime Reasons Behind The Success Of Magento 2 von M-Connect Media
Prime Reasons Behind The Success Of Magento 2 Prime Reasons Behind The Success Of Magento 2
Prime Reasons Behind The Success Of Magento 2
M-Connect Media1.1K views
Expert guidance on migrating from magento 1 to magento 2 von James Cowie
Expert guidance on migrating from magento 1 to magento 2Expert guidance on migrating from magento 1 to magento 2
Expert guidance on migrating from magento 1 to magento 2
James Cowie226 views
Customer FX Technical Reference Sheet von GoodCustomers
Customer FX Technical Reference SheetCustomer FX Technical Reference Sheet
Customer FX Technical Reference Sheet
GoodCustomers595 views
Everything about the magento open source 2 von Clap Creative
Everything about the magento open source 2Everything about the magento open source 2
Everything about the magento open source 2
Clap Creative30 views
Building Data Centric Apps in WPF von Frank La Vigne
Building Data Centric Apps in WPFBuilding Data Centric Apps in WPF
Building Data Centric Apps in WPF
Frank La Vigne734 views
Oleksii Korshenko - Magento 2 Backwards Compatible Policy von Meet Magento Italy
Oleksii Korshenko - Magento 2 Backwards Compatible PolicyOleksii Korshenko - Magento 2 Backwards Compatible Policy
Oleksii Korshenko - Magento 2 Backwards Compatible Policy
Meet Magento Italy501 views
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES von Kuldeep Sharma
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULESBEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
BEGINNERS’ GUIDE TO MAGENTO PLUGINS, EXTENSIONS, MODULES
Kuldeep Sharma15 views
MidwestPHP - Getting Started with Magento 2 von Mathew Beane
MidwestPHP - Getting Started with Magento 2MidwestPHP - Getting Started with Magento 2
MidwestPHP - Getting Started with Magento 2
Mathew Beane3K views
Madison PHP - Getting Started with Magento 2 von Mathew Beane
Madison PHP - Getting Started with Magento 2Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2
Mathew Beane4.7K views
Magento 2.2: It's Coming Right For You! | Colorado Magento Meetup von Kelly Mason
Magento 2.2: It's Coming Right For You! | Colorado Magento MeetupMagento 2.2: It's Coming Right For You! | Colorado Magento Meetup
Magento 2.2: It's Coming Right For You! | Colorado Magento Meetup
Kelly Mason1.5K views

Último

PORTFOLIO 1 (Bret Michael Pepito).pdf von
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdfbrejess0410
7 views6 Folien
Building trust in our information ecosystem: who do we trust in an emergency von
Building trust in our information ecosystem: who do we trust in an emergencyBuilding trust in our information ecosystem: who do we trust in an emergency
Building trust in our information ecosystem: who do we trust in an emergencyTina Purnat
92 views18 Folien
WEB 2.O TOOLS: Empowering education.pptx von
WEB 2.O TOOLS: Empowering education.pptxWEB 2.O TOOLS: Empowering education.pptx
WEB 2.O TOOLS: Empowering education.pptxnarmadhamanohar21
16 views16 Folien
Marketing and Community Building in Web3 von
Marketing and Community Building in Web3Marketing and Community Building in Web3
Marketing and Community Building in Web3Federico Ast
12 views64 Folien
We see everywhere that many people are talking about technology.docx von
We see everywhere that many people are talking about technology.docxWe see everywhere that many people are talking about technology.docx
We see everywhere that many people are talking about technology.docxssuserc5935b
6 views2 Folien
information von
informationinformation
informationkhelgishekhar
8 views4 Folien

Último(12)

PORTFOLIO 1 (Bret Michael Pepito).pdf von brejess0410
PORTFOLIO 1 (Bret Michael Pepito).pdfPORTFOLIO 1 (Bret Michael Pepito).pdf
PORTFOLIO 1 (Bret Michael Pepito).pdf
brejess04107 views
Building trust in our information ecosystem: who do we trust in an emergency von Tina Purnat
Building trust in our information ecosystem: who do we trust in an emergencyBuilding trust in our information ecosystem: who do we trust in an emergency
Building trust in our information ecosystem: who do we trust in an emergency
Tina Purnat92 views
Marketing and Community Building in Web3 von Federico Ast
Marketing and Community Building in Web3Marketing and Community Building in Web3
Marketing and Community Building in Web3
Federico Ast12 views
We see everywhere that many people are talking about technology.docx von ssuserc5935b
We see everywhere that many people are talking about technology.docxWe see everywhere that many people are talking about technology.docx
We see everywhere that many people are talking about technology.docx
ssuserc5935b6 views
IETF 118: Starlink Protocol Performance von APNIC
IETF 118: Starlink Protocol PerformanceIETF 118: Starlink Protocol Performance
IETF 118: Starlink Protocol Performance
APNIC186 views
How to think like a threat actor for Kubernetes.pptx von LibbySchulze1
How to think like a threat actor for Kubernetes.pptxHow to think like a threat actor for Kubernetes.pptx
How to think like a threat actor for Kubernetes.pptx
LibbySchulze15 views
UiPath Document Understanding_Day 3.pptx von UiPathCommunity
UiPath Document Understanding_Day 3.pptxUiPath Document Understanding_Day 3.pptx
UiPath Document Understanding_Day 3.pptx
UiPathCommunity101 views
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲 von Infosec train
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
𝐒𝐨𝐥𝐚𝐫𝐖𝐢𝐧𝐝𝐬 𝐂𝐚𝐬𝐞 𝐒𝐭𝐮𝐝𝐲
Infosec train9 views

How to migrate from Magento 1 to Magento 2

Hinweis der Redaktion

  1. Can‘t talk about everything today
  2. it's not a simple update You don‘t get Magento 2 with the click of a button or a few commands It‘s a process which involves a lot of manual work. Use it as a chance for a make-over [Next]
  3. Add repository Magento 2 installation needed, but not Magento 1 Install tool Installation: composer require from Github or repo.magento.com Symfony Console Monolog Configure XML Files Credentials for M1 and M2 databases
  4. * Custom = your extensions, 3rd party extensions Tables * copy * ignore * rename Columns * copy * ignore * rename * transform value => handlers can be defined (null handler, custom handler, …)
  5. but it has issues – reserve time! As with every integration project: get real data as soon as possible
  6. Ensure data integrity Remove un-needed entries
  7. Create database backup after install (it's easy to introduce foreign key errors in target database; tool expects fresh database) Script steps for execution and reset
  8. First „collect“ all errors (ignore documents / fields, rename to „“) and when the script runs through think what you make out of that information
  9. You can have your files anywhere in the file system: Version them in your own repository outside of the migration tool directory structure for better overview and easier re-use You can divide config files further, for example for the different calls
  10. Although you use a M2 installation, at the moment there is no way for your migrated M2 community extensions to specify mappings in own files – you have to define mappings manually for extensions for every project
  11. Is said to be not working perfectly at the moment
  12. Ubertheme Pro: easy to use, little configuration, does the job for standard data, supports delta Con: slow, hard to rewrite, not secured
  13. Go through the list of extensions and make basic decisions for every module
  14. 3rd party code: Marketplace
  15. Second, decide on your homegrown modules
  16. if you do the extension yourself: do you want to migrate the extension or rewrite it from scratch?
  17. If you rewrite the extension from scratch: Try to use automated testing – base is better Follow official coding standards Document behaviour as it was in M1 so you know what should work how afterwards Maybe write platform independent code
  18. If you want migrate the extension: Make sure you followed the coding standards in Magento 1, otherwise you may want to refactor the extension before migrating Good if you have files in separate directory like you have with modman or Composer Of course, also any kind of automated testing helps too Also here: document M1 behaviour think about writing platform independent code: (even more so if you have to develop new stuff before migrating)
  19. It has a good documentation!
  20. A few things that I learned here: [next]
  21. Installation: you could also do composer require, but there are no official versions yet (current: "0.0.1-alpha") Symfony Console Monolog No Magento 1 or Magento 2 installation needed
  22. <src>: Good for you if you extracted your code into Composer modules or the like Bring your code in order before doing the migration! See Sergii Shymkos presentation: remove unused modules, revert core modifications. Also interesting: remove core bugfixes irrelevant to M2
  23. Mapping files make code migration possible Out of the box: newest M1 version to M2 Generated by you: your M1 version to M2
  24. Obey the order!
  25. May generate warnings generateModuleMapping: exception with EE If you use <m1>, then mappings for third-party tools etc. may be added
  26. convertConfig: config.xml is unchanged, so you have to find out yourself what has been moved and what not Bugs: convertConfig: system.xml type, show_in_store etc. not used convertPhpCode: Originale Dateien werden beibehalten, man kann vergleichen was gemacht worden ist Dependency information not migrated properly(?) Event observers not migrated properly(?)
  27. be pragmatic. work together. find solutions together as you're both going to learn a lot about Magento 2 at this point of time To build a better shop!
  28. Topics I didn‘t mention at all or not in detail: Theme migration Build & Deployment process