Sylius
Seamlessly integrate your Sylius e-commerce platform with Storyblok
Sylius is a fully open-source and flexible e-commerce framework designed for the dynamic growth of your innovative business.
This app enables content editors to select products and categories from a connected Sylius 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-sylius. - In the field configuration, define the following values:
endpoint(required): The URL of the API endpoint associated with your Sylius instance (e.g.,https://demo.vendure.io/shop-api).token(required): The JWT token generated from /api/v2/shop/authentication-token endpoint. Learn more in the Sylius documentation.language(optional): The language key to display the name and description in a specific language (e.g.,en_US).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.