Shopware
The Shopware app adds a field type for selecting products and categories from a connected Shopware instance and referencing them in Storyblok content. The selection is part of the API response.
Read more about connecting a store in the e-commerce concept.
Features
Section titled “Features”- Select Shopware products and categories in the Visual Editor.
- Limit how many items an editor can select.
- Restrict the field to products only or categories only.
Setup for Shopware API v3
Section titled “Setup for Shopware API v3”In the Block Library, add a field to a block, set its field type to Plugin, and select Custom Type to match your Shopware API version:
sb-shopware-64for Shopware API v3sb-shopwarefor earlier versions
The field takes the following options:
| Option | Required | Description |
|---|---|---|
endpoint |
Yes | URL of the Shopware API. For example, https://<your-domain>. |
salesChannelKey |
Yes | Shopware access key of the sales channel. |
limit |
No | Maximum number of items an editor can select. |
selectOnly |
No | Restricts the field to product or category. |
accessKey |
Yes (for sb-shopware) |
Access key of the API user. |
secretAccessKey |
Yes (for sb-shopware) |
Secret access key of the API user. |
Further resources
Section titled “Further resources”Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community