Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Shopware 6: plugins and migration
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Michael Telgmann
May 23, 2019
Programming
860
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Shopware 6: plugins and migration
Michael Telgmann
May 23, 2019
Other Decks in Programming
See All in Programming
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.4k
AHC070解法紹介
eijirou
0
120
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
1.9k
AI活用は、個人から組織へ|マルチプレイヤーエージェントハーネス「QM」の社内活用事例 / AI use is moving from individuals to orgs
rkaga
1
110
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
120
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
400
Jetpack Compose メカニズム
skydoves
0
420
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
490
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
550
App Intentsのビルドプロセスを支える技術
kntkymt
0
380
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
150
Intent as Code
shoppingjaws
6
1k
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
690
Building Adaptive Systems
keathley
44
3.2k
Done Done
chrislema
186
16k
The Language of Interfaces
destraynor
162
27k
Typedesign – Prime Four
hannesfritz
42
3.2k
Designing for Performance
lara
611
70k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
490
Skip the Path - Find Your Career Trail
mkilby
1
230
Practical Orchestrator
shlominoach
192
12k
Between Models and Reality
mayunak
4
460
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
520
Optimizing for Happiness
mojombo
378
71k
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