Skip to content

Sylius

The Sylius app adds a field type for selecting products and categories from a connected Sylius 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.

  • Select Sylius products and categories in the Visual Editor.
  • Read product data in a specific language.
  • Restrict the field to products only or categories only.

In the Block Library, add a field to a block, set its field type to Plugin, and set the custom type to sb-sylius.

The field takes the following options:

Option Required Description
endpoint Yes URL of the Sylius API. For example, https://<your-domain>/api/v2/shop.
token Yes JSON Web Token from the /api/v2/shop/authentication-token endpoint.
language No Language code used to read the product name and description. For example, en_US.
selectOnly No Restricts the field to product or category.

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.