This repository has been archived by the owner on Mar 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmanifest.xml
64 lines (58 loc) · 2.44 KB
/
manifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/platform/master/src/Core/Framework/App/Manifest/Schema/manifest-1.0.xsd">
<meta>
<name>shopwareappexample</name>
<label>Swag Example App</label>
<label lang="de-DE">Swag Beispiel App</label>
<description>Example App</description>
<description lang="de-DE">Beispiel App</description>
<author>shopware AG</author>
<copyright>(c) by shopware AG</copyright>
<version>1.0.0</version>
<license>MIT</license>
</meta>
<setup>
<registrationUrl>https://127.0.0.1:8000/registration</registrationUrl> <!-- replace local url with real one -->
<secret>143af21f36dda6b4bc40df8cb045616d</secret>
</setup>
<admin>
<!-- replace local urls with real ones -->
<action-button action="addOrderList" entity="order" view="detail" url="https://127.0.0.1:8000/actionbutton/add/orderlist">
<label>Add order list</label>
<label lang="de-DE">Bestellliste hinzufügen</label>
</action-button>
<module name="orderList" source="https://127.0.0.1:8000/iframe/orderlist">
<label>Order list</label>
<label lang="de-DE">Bestellliste</label>
</module>
</admin>
<permissions>
<create>state_machine_history</create>
<read>order</read>
<update>order</update>
<read>order_line_item</read>
<read>state_machine_state</read>
</permissions>
<custom-fields>
<custom-field-set>
<name>swag_orderlist</name>
<label>Order list</label>
<related-entities>
<order/>
</related-entities>
<fields>
<text-area name="order-list">
<position>1</position>
<label>Order list</label>
<label lang="de-DE">Bestellliste</label>
</text-area>
</fields>
</custom-field-set>
</custom-fields>
<webhooks>
<!-- replace local urls with real ones -->
<webhook name="checkoutOrderPlaced" url="https://127.0.0.1:8000/hooks/order/placed" event="checkout.order.placed"/>
<webhook name="appLifecycleDeleted" url="https://127.0.0.1:8000/applifecycle/deleted" event="app.deleted"/>
</webhooks>
</manifest>