Im ersten Schritt mussten wir hierzu die Basis der App entwickeln, was deutlich vereinfacht wurde im Vergleich zu dem Plugin-Ökosystem. Mit einer schlichten manifest.xml lässt sich das meiste problemlos steuern und den Rest kann man bequem über Hookpoints / Scripts lösen.
Und so war der komplette Ablauf:
- Bearbeiten der Anfrage
- Schätzung & Planung des Projektes
- Auf Bestätigung des Kunden warten
- Erstellung App-Basis mit manifest.xml und allen notwendigen Bestandteilen
- Entwicklung Erweiterung Menüpunkt / Einbindung Weboberfläche ins Shopware 6 Admin Interface
- Testing und finale Checks
- Installation & Liveschaltung der App
Nachfolgend zur Veranschaulichung wie so eine manifest.xml einer App in Shopware 6 aussehen kann (aus der Dokumentation):
<meta>
<!-- This is the element for the technical name of your app and must equal the name of the folder your app is contained in -->
<name>MyExampleApp</name>
<!-- In this element, you can set a label for your app. To include translations use the `lang` attribute -->
<label>Label</label>
<label lang="de-DE">Name</label>
<!-- Translatable, a description of your app -->
<description>A description</description>
<description lang="de-DE">Eine Beschreibung</description>
<author>Your Company Ltd.</author>
<copyright>(c) by Your Company Ltd.</copyright>
<version>1.0.0</version>
<license>MIT</license>
<compatibility>~6.5.0</compatibility>
<!-- Optional, you can set the path to an icon that should be shown for your app, the icon needs to a `png` file -->
<icon>icon.png</icon>
<!-- Optional, in this element you can link to your privacy policy -->
<privacy>https://your-company.com/privacy</privacy>
<!-- Optional, Translatable, in this element you can describe the changes the shop owner needs to apply to his shops privacy policy, e.g. because you process personal information on an external server -->
<privacyPolicyExtensions>
This app processes following personal information on servers based in the U.S.:
- Address information
- Order positions
- Order value
</privacyPolicyExtensions>
<privacyPolicyExtensions lang="de-DE">
Diese App verarbeitet folgende personenbezogene Daten auf Servern in den USA:
- Adress-Informationen
- Bestellpositionen
- Bestellsumme
</privacyPolicyExtensions>
</meta>