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
740
Shopware 6: plugins and migration
Michael Telgmann
May 23, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
Go の GC の不得意な部分を克服したい
taiyow
2
760
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
선언형 UI에서의 상태관리
l2hyunwoo
0
130
CSC305 Lecture 26
javiergs
PRO
0
140
42 best practices for Symfony, a decade later
tucksaun
1
180
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
720
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
3
890
Discord Bot with AI -for English learners-
xin9le
1
120
Criando Commits Incríveis no Git
marcelgsantos
2
170
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
920
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
160
Embracing the Ebb and Flow
colly
84
4.5k
Docker and Python
trallard
41
3.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
GitHub's CSS Performance
jonrohan
1030
460k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Gamification - CAS2011
davidbonilla
80
5.1k
Speed Design
sergeychernyshev
25
670
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Cult of Friendly URLs
andyhume
78
6.1k
RailsConf 2023
tenderlove
29
940
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