Choose a Customization Approach

The Agentforce Commerce Client gives you three levels of customization. Start with the lightest one that meets your need: configuration is the cheapest to maintain, custom CSS is next, and component overrides are the most powerful but carry the most responsibility.

Decision guide 

Work down this list and stop at the first level that solves your problem.

  1. Change behavior, text, colors, or layout mode? Use configuration and theme properties. Setting theme, headerConfig, componentConfig, searchConfig, and related props covers most brand and behavior needs with no code.

  2. Restyle existing elements beyond what theme properties allow? Use custom CSS targeting the cim-widget-* classes, with globalClassName as a specificity hook. This restyles what the widget already renders without changing its structure.

  3. Replace what the widget renders for products or agent actions with your own markup? Use the Component Override SDK. Use overrides to supply custom elements for product tiles, carousels, product detail cards, comparison tables, progress steps, and custom agent-action blocks. This is a messaging-mode capability.

What each level can and can't do 

NeedConfigurationCustom CSSComponent Overrides
Brand colors, fonts, bordersYesYesYes
Header logo and titleYesYesYes
Presentation mode (chat, dialog, modal)YesPartialNo
Restyle an existing elementNoYesYes
Restructure product cards or carouselsNoNoYes
Render a custom agent-action block (orders, pickers, forms)NoNoYes

What overrides do not cover 

Component overrides replace product and agent-action rendering, not the widget’s chrome. The header, search bar, and follow-up suggestions are intentionally not overridable. Style those with theme properties and custom CSS instead. See Component Override SDK for the exact list of overridable slots.

Related resources