Easily connect your Eva commerce data to your Builder.io content!
Go to builder.io/account/organization and add the plugin from the plugin settings (@builder.io/plugin-eva)
The plugin requires the following configuration:
- API Key: Your Eva API key for authentication
- Organization Unit Set ID: Your Eva Organization Unit Set ID
- Environment (optional): Choose between 'development', 'staging', or 'production' (defaults to 'production')
This plugin provides the following field types for use in Builder.io:
Eva Product: Search and select products from your Eva catalog- Custom targeting by product ID or handle
To target content by Eva products, you'll need to set the target attributes on the host site by setting the userAttributes:
builder.setUserAttributes({
product: currentProduct.id,
});Or by passing it as a query param to the content API call.
git clone https://github.com/BuilderIO/builder.git
cd plugins/eva
npm installnpm startGo to builder.io/account/organization and add the localhost URL to the plugin from the plugin settings (http://localhost:1268/plugin.system.js?pluginId=@builder.io/plugin-eva)
NOTE: Loading http:// content on an https:// website will give you a warning. Be sure to click the shield in the top right of your browser and choose "load unsafe scripts" to allow the http content on Builder's https site when developing locally.
Builder.io uses React and Material UI for the UI, and Emotion for styling.