Vendure
Seamlessly integrate your Vendure e-commerce platform with Storyblok
![Vendure](http://a.storyblok.com/app-assets/1/c037332f7d/vendure-extension.png)
Vendure is a modern, open-source headless e-commerce framework built with TypeScript and Node.js. It is designed for developers who build the modern web.
This app enables content editors to select products and categories from a connected Vendure 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 Vendure instance (e.g.,https://demo.vendure.io/shop-api
).token
(required): The generated BigCommerce storefront token.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.