BigCommerce
Seamlessly integrate your BigCommerce e-commerce platform with Storyblok
BigCommerce is an e-commerce platform that empowers merchants of all sizes to build, innovate, and grow their online businesses. BigCommerce provides merchants with sophisticated enterprise-grade functionality, customization, and performance with simplicity and ease of use.
This app enables content editors to select products and categories from a connected BigCommerce 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-bigcommerce. - In BigCommerce, create a store-level API account with the following scopes:
- Products: read-only
- Storefront API tokens: manage
- In BigCommerce, create a storefront API token. Importantly, set
allowed_cors_originsinside the request body tohttps://plugins.storyblok.com. - In the field configuration, define the following values:
endpoint(required): The domain of the BigCommerce storefront (e.g.,https://your-store.mybigcommerce.com).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.