Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
eBPF Deep Dive: Architecture and Safety Mechanisms
takehaya
12
1.2k
As an Engineers, let's build the CRM system via LINE Official Account 2.0
clonn
1
620
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
3
370
Leverage LLMs in Java with LangChain4j and Quarkus
hollycummins
0
140
距離関数を極める! / SESSIONS 2024
gam0022
0
360
N.E.X.T LEVEL
pluu
2
240
React CompilerとFine Grained Reactivityと宣言的UIのこれから / The next chapter of declarative UI
ssssota
7
3.1k
.NET Conf 2024の振り返り
tomokusaba
0
180
デザインパターンで理解するLLMエージェントの作り方 / How to develop an LLM agent using agentic design patterns
rkaga
11
2.4k
新卒研修で作ったアプリのご紹介
mkryo
0
230
Jakarta EE meets AI
ivargrimstad
0
970
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
100
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Faster Mobile Websites
deanohume
305
30k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Producing Creativity
orderedlist
PRO
341
39k
Designing for Performance
lara
604
68k
Being A Developer After 40
akosma
87
590k
Automating Front-end Workflow
addyosmani
1366
200k
BBQ
matthewcrist
85
9.3k
Unsuck your backbone
ammeep
669
57k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
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