Watch Webinar: Figma - Design to Code in 80% Less Time

Announcing Visual Copilot - Figma to production in half the time

Builder.io logo
Talk to Us
Contact Sales
Platform
Developers
Talk to Us

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

You can use your commercetools products and categories within Builder with the commercetools e-commerce plugin.

The plugin provides custom types that you can use to:

  • Provide products and categories as inputs for your custom code components.
  • Target content based on products or categories instead of URL paths with hard-coded resource handles or IDs.
  • Preview products and categories on product detail pages and inside of other content while editing.

For a general overview of what you can do with plugins see Overview of Built-in Plugins for Builder.

To get the most out of this document, you should already have an API Client within your commercetools account. For more information, see the commercetools documentation, Create an API Client.

  1. Go to the Integrations section of Builder.
  2. On the commercetools plugin tile, click the Enable button.
  3. Click the Settings to configure the plugin with your commercetools account information.

The following video demonstrates this process:

Completing the plugin's setup requires the following information from your commercetools API Client configuration:

  • Project ID
  • Client ID
  • Secret
  • API URL
  • Auth URL
  • Scopes (optional)
  • Locale (optional)

For more detail on finding this information within commercetools, see the commercetools documentation, View your API Client Configuration.

The commercetools plugin provides eight custom types:

  • Commercetools Product: CommercetoolsProduct
  • Commercetools Product Preview: CommercetoolsProductPreview
  • Commercetools Product Handle: CommercetoolsProductHandle
  • Commercetools Products List: CommercetoolsProductsList
  • Commercetools Category: CommercetoolsCategory
  • Commercetools Category Preview: CommercetoolsCategoryPreview
  • Commercetools Category Handle: CommercetoolsCategoryHandle
  • Commercetools Categories List: CommercetoolsCategoriesList

For more information on the shape of each type's values, refer to E-commerce Custom Types.

Check out the Builder GitHub repo for the plugin's source as well as instructions on how to modify or develop it.

Was this article helpful?

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Newsletter

Get the latest from Builder.io

By submitting, you agree to our Privacy Policy