Spryker
Seamlessly integrate your Spryker e-commerce platform with Storyblok
![Spryker](http://a.storyblok.com/app-assets/1/f5a516e4d6/screenshot.png)
Spryker is a flexible commerce platform that empowers businesses to build customized and scalable digital storefronts, offering a great solution for managing various aspects of e-commerce.
This app enables content editors to select products and categories from a connected Spryker instance and reference them in Storyblok.
Setup
- Once installed, navigate to the block library and create a new field of the type plugin (in either a new or an existing block). Set the custom type to
sb-vendure
. - In the field configuration, define the following values:
endpoint
(required): The URL of the API endpoint associated with your Spryker instance using the Spryker Glue API (e.g.,https://glue.de.b2c.demo-spryker.com/
).token
(optional): When specified, this value will be added to the authorization header of each request to the Spryker API.limit
(optional): The maximum number of items that can be selected.selectOnly
(optional): If left empty, editors can choose products and categories. If set toproduct
, only products can be selected. If set tocategory
, only categories can be selected.
- Use the block containing the field in the Visual Editor, select one or multiple products or categories, save the story, and check the API response.
Please refer to the e-commerce concept for a detailed introduction to the topic.