Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Shopware 6: plugins and migration
Search
Michael Telgmann
May 23, 2019
Programming
1
810
Shopware 6: plugins and migration
Michael Telgmann
May 23, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
One Enishi After Another
snoozer05
PRO
0
150
技術的負債の正体を知って向き合う
irof
0
240
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
2
370
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
190
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
240
Software Architecture
hschwentner
6
2.3k
contribution to astral-sh/uv
shunsock
0
530
CSC509 Lecture 06
javiergs
PRO
0
270
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
110
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
18
8.5k
Developer Joy - The New Paradigm
hollycummins
1
360
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
How GitHub (no longer) Works
holman
315
140k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
Speed Design
sergeychernyshev
32
1.2k
YesSQL, Process and Tooling at Scale
rocio
173
15k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Transcript
The new platform: Plugins & Migration
@holger_tk @mitelg Holger-Thomas Kaßner Michael Telgmann Squad Leader Shopware Services
Developer Core & Services
What to expect? Plugin basics Extending Shopware 6 All about
Migration
Plugins
None
Community
Let´s talk about plugins in
None
None
None
Plugin Manager
Shopware 6 Plugin Manager
None
Connecting to your account
The basic structure
Shopware 6 plugin structure
composer.json composer.json is required! type „shopware-platform-plugin“ „shopware-plugin-class“ is required Label
is required you must use psr-0 or psr-4
Plugin base class
Resources directory
Extending Shopware 6
Events
Types of events loading the product detail page product page
loader DAL* *data abstraction layer CRUD events for all entities page loaded events for the storefront
Business events order created send confirmation mail customer registers receive
voucher
Business events order created send confirmation mail customer registers receive
voucher
Controllers
Defining controllers
Entities
Creating entities
Creating entities
Creating entities
Creating entities http://shopware.local/api/v1/swag-bundle/4a30f0a83cae4a26b82848e303be3614
Extending entities attributes custom fields json format used for simple
additional data
Extending entities
Extending entities
Creating a custom admin module
Creating a custom admin module
Creating a custom admin module
Extending the storefront
Extending the storefront
Extending the storefront
Custom line items
Custom line items
Custom line items
Custom line items
Custom line items
Custom line items
Cart
Cart calculation
Price rounding
Calculated cart
None
None
Preparing your plugin for Shopware 6
Migration
Migration as holistic topic content- / data migration environment- /
plugin migration
Connector Plugin Migration (Account) Migration Assistant
Plugin Migration Assistant License migration to Shopware 6
Plugin successors?
Shop overview
Plugin Migration Assistant (Account)
Plugin Migration Assistant (Account)
Plugin Migration Assistant (Account)
Plugin Migration Assistant (Account)
Plugin Migration Assistant (Account)
When?
Data Migration
Community Day 2019 Data Migration history SW3 SW4 „migration scripts“
Shopware one-click update Shopware 5 migration plugin
Shopware 5 Migration Plugin
Shopware 5 Migration Plugin
Migration Assistant Data migration to Shopware 6
Creating a connection
None
None
Checking data & pre-mapping
None
Start migrating
None
… that’s all
Migration process Fetch Convert Mapping Write Process media & documents
complete migration support for big data amounts simple operation for
the user partial / repeated updates as automated as possible extensibility What we want to achieve performance stability extensibility
Technical concepts connection profiles gateways data selections converter writer media
handlers
Shopware Migration Assistant plugin structure
We like the concept of working with profiles from the
Shopware 5 migration tool
Profiles acting as an entry point into migration Profiles contain
the gateways - i.e. the types of connection to the source Profiles can be added or extended Extensibility through profiles
None
Tagged Services using the Dependency Injection Container of Symfony get
collected on initialization way to integrate your services into other system
Gateways Shopware 6 platform Shopware migration tool (Plugin) Gateways
SCD 2019 Api Plugin („api gateway“) new API endpoints in
Shopware 5 read-only interface high performance - no ORM extensibility
SCD 2019 Local migration („local gateway“) Installation of 5 &
6 on one server Connection to local database Migration of media from the local installation folder
Gateway classes
Data selections
None
Dataset
Premapping
None
Converters
Converter classes
Data writer
Processing media solution for downloading media via api plugin solution
for local migration resolving paths for different strategies
Migration in a nutshell
Shopware Migration Connector Migration via fast API
None
None
Functionality Migration Connector information about compatibility of your environment with
Shopware 6 new api endpoints for fast read actions dynamic endpoint to request 3rd party tables
Now available!
Finally
Get in touch with the new tools docs.shopware.com academy.shopware.com github.com/shopware
Thank your for your patience! Time for Q&A