Doctor, Will My Drupal 7 Commerce Site�Survive the Upgrade?
Kevin Kaland
I usually joke about not forgetting to
tell you my name for the whole session
here, but DrupalCon made me put it on the previous slide.¯\_(ツ)_/¯
Site I’m upgrading
Pricing page
Profile page
Some context
Why upgrade?
How did I get here?
Why upgrade now?
Attempting an upgrade
Options for upgrading
Option 1: Hardcode something entirely
Option 2: Write custom migrations with Migrate
Option 3: Use Commerce Migrate
Difficulty level:
TO
Sources: https://giphy.com/gifs/easy-Rl9Yqavfj2Ula, https://giphy.com/gifs/pool-shot-trick-hZRSCQYhtaAJG
Option 4: Mixed approach
Contributed module progress
State of Commerce Migrate
State of Commerce Migrate 2
What’s changed in contrib?
What’s changed in contrib? 2
What’s changed in contrib: Licensing ecosystem
What’s changed in contrib: Commerce VAT
It’s in Commerce core!
What’s changed in contrib: Commerce Stripe
Closing the gap
Planning
Planning 2
Planning 3
How should I port custom functionality?
Closing the contrib gap
Closing the contrib gap: Recurring
Contrib gap: ¯\_(ツ)_/¯
Before porting stuff
Porting custom functionality: License/recurring logic
Porting custom functionality: Plan management UI
Porting custom functionality: Visual tweaks
Twig!
Porting custom functionality: Custom migrations
Porting functionality: Examples of custom migrations
Porting custom functionality: 🍃⚡R u l e s⚡🍃
Porting custom functionality 🍃⚡R u l e s⚡🍃2
Porting custom functionality 🍃⚡R u l e s⚡🍃3
Porting custom functionality 🍃⚡R u l e s⚡🍃4
Porting custom
functionality
🍃⚡R u l e s⚡🍃5
Who should upgrade now?
It depends
Big/medium budgets
Small budgets/individuals (like me)
So, basically:
Be realistic
Upgrading might take a while.
Collaboration pays off
Upgrades will be easier; module compatibility will be better.
Use Commerce Migrate
Unless you’re in a rush, it’s worth waiting.
Frage? (Questions?)
Resources
Shoutouts (thank you’s)
JOIN US FOR
CONTRIBUTION SPRINT
Friday, 29 September, 2017
First time
Sprinter Workshop
Mentored
Core Sprint
General Sprint
9:00-12:00
Room: Lehar 1 - Lehar 2
9:00-18:00
Room: Stolz 2
9:00-18:00
Room: Mall
#drupalsprints
WHAT DID YOU THINK?
Locate this session at the DrupalCon Vienna website:
http://vienna2017.drupal.org/schedule
Take the survey!
https://www.surveymonkey.com/r/drupalconvienna
The end
drupal.org, Twitter, Drupal Slack, usw.*:
wizonesolutions
Are you a business card connoisseur?�Enjoy a vintage glossy (2011) on me
* etc.