Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bp-6.6.0.0-2b61ab7' into '6.6.0.0'
[6.6.0.0] NEXT-34448 - Fix error for app theme that depends only on Storefront See merge request shopware/6/product/platform!13392
- Loading branch information
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
tests/unit/Storefront/Theme/fixtures/ThemeAppWithoutJs/Resources/theme.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "ThemeApp", | ||
"author": "Shopware AG", | ||
"views": [ | ||
"@Storefront", | ||
"@Plugins", | ||
"@TestTheme" | ||
], | ||
"style": [ | ||
"app/storefront/src/scss/overrides.scss", | ||
"@Storefront", | ||
"app/storefront/src/scss/base.scss" | ||
], | ||
"script": [ | ||
"@Storefront" | ||
], | ||
"asset": [ | ||
"app/storefront/src/assets" | ||
] | ||
} |
67 changes: 67 additions & 0 deletions
67
tests/unit/Storefront/Theme/fixtures/ThemeAppWithoutJs/manifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/shopware/trunk/src/Core/Framework/App/Manifest/Schema/manifest-2.0.xsd"> | ||
<meta> | ||
<name>SwagApp</name> | ||
<label>Swag App Test</label> | ||
<label lang="de-DE">Swag App Test</label> | ||
<description>Test for App System</description> | ||
<description lang="de-DE">Test für das App System</description> | ||
<author>shopware AG</author> | ||
<copyright>(c) by shopware AG</copyright> | ||
<version>1.0.0</version> | ||
<icon>icon.png</icon> | ||
<license>MIT</license> | ||
</meta> | ||
<setup> | ||
<registrationUrl>https://my.app.com/SwagApp/registration</registrationUrl> | ||
<secret>s3cr3t</secret> | ||
</setup> | ||
<admin> | ||
<action-button | ||
action="viewOrder" | ||
entity="order" | ||
view="detail" | ||
url="https://swag-test.com/your-order"> | ||
<label>View Order</label> | ||
<label lang="de-DE">Zeige Bestellung</label> | ||
</action-button> | ||
<action-button | ||
action="doStuffWithProducts" | ||
entity="product" | ||
view="list" | ||
url="https://swag-test.com/do-stuff"> | ||
<label>Do Stuff</label> | ||
</action-button> | ||
<module name="first-module" source="https://test.com" parent="sw-catalouge"> | ||
<label>My first own module</label> | ||
<label lang="de-DE">Mein erstes eigenes Modul</label> | ||
</module> | ||
</admin> | ||
<permissions> | ||
<create>product</create> | ||
<update>product</update> | ||
<delete>product</delete> | ||
<delete>category</delete> | ||
<create>product_manufacturer</create> | ||
<delete>product_manufacturer</delete> | ||
<create>tax</create> | ||
<read>order</read> | ||
</permissions> | ||
<custom-fields> | ||
<custom-field-set> | ||
<name>custom_field_test</name> | ||
<label>Custom field test</label> | ||
<label lang="de-DE">Zusatzfeld Test</label> | ||
<related-entities> | ||
<product/> | ||
<customer/> | ||
</related-entities> | ||
<fields/> | ||
</custom-field-set> | ||
</custom-fields> | ||
<webhooks> | ||
<webhook name="hook1" url="https://test.com/hook" event="checkout.customer.before.login"/> | ||
<webhook name="hook2" url="https://test.com/hook2" event="checkout.order.placed"/> | ||
</webhooks> | ||
</manifest> |