SFCC (Salesforce Commerce Cloud) — The Complete Expert Guide
Written by Ozan Altinbas, Salesforce Commerce Cloud Technical Architect with 8+ years of SFCC experience and 14+ years in software engineering, who has delivered SFCC work for Karl Lagerfeld, Stella McCartney, Mulberry, Barbour, GameStop, and Ubisoft.
Salesforce Commerce Cloud (SFCC) is the enterprise eCommerce platform behind many well-known retail brands. If you are evaluating SFCC, building on it, or hiring someone who knows it well, this guide walks through the platform from a practitioner's point of view.
What is SFCC?
Salesforce Commerce Cloud (SFCC) is a cloud-based enterprise eCommerce platform, originally built by Demandware and acquired by Salesforce in 2016. It powers online storefronts for hundreds of brands across fashion, luxury, sporting goods, electronics, and more.
Salesforce now uses the Agentforce Commerce name for its commerce portfolio — its Trailhead overview of the commerce products describes them as Agentforce Commerce — while the platform this guide covers keeps its product name, B2C Commerce.
SFCC is not a one-size-fits-all platform. It is engineered for brands with complex requirements: multi-site operations, deep personalisation, high-volume traffic and international commerce. The platform's strengths come at a cost — SFCC work calls for specialist developers, has a steep learning curve, and carries a significant total cost of ownership.
Key facts:
- Originally called Demandware; Salesforce announced the acquisition in June 2016 for approximately $2.8 billion
- Used by hundreds of brands and retailers worldwide
- GMV-linked licensing. Salesforce does not publish a list price — its pricing page says "Contact for pricing" — and market estimates (not official figures) put it at roughly 1–3% of GMV. See the SFCC pricing breakdown
- "SFCC" means B2C Commerce. Salesforce's B2B Commerce is a separate product built on the Salesforce Platform
- Runs on Salesforce's global cloud infrastructure
Deep dive: What is Salesforce Commerce Cloud?
SFCC Architecture Overview
Understanding SFCC architecture is essential for any developer or architect working on the platform.
The Cartridge System
The foundation of SFCC extensibility is the cartridge — a modular unit of code that extends or overrides platform functionality. Cartridges follow a path-based inheritance model defined in the cartridge path (configured per site in Business Manager).
When SFCC resolves a template or script, it searches cartridges from left to right along the cartridge path. The first match wins. This means custom cartridges override base cartridges without touching core platform code — enabling clean platform upgrades and reusable integrations.
Cartridge path example:
app_custom_mysite:plugin_wishlists:app_storefront_base
SFCC resolves app_custom_mysite first, then plugin_wishlists, then the base storefront. Any file present in app_custom_mysite overrides the equivalent in app_storefront_base.
Overriding files is one extension mechanism; the other is hooks — named extension points that the platform, SFRA and SCAPI call into, so cartridges can add logic to calculation, payment or API flows without replacing a whole file. See SFCC hooks explained.
Controllers and ISML
SFCC uses a controller-based MVC pattern:
- Controllers — JavaScript files that handle HTTP requests, orchestrate business logic, and render responses
- ISML templates — SFCC's server-side templating language (similar to JSP), used for HTML rendering
- Scripts — Reusable business logic modules, accessed via
require() - Models — Data access objects wrapping platform APIs
SFRA vs SiteGenesis
There are two front-end architectures in the SFCC ecosystem:
| SFRA | SiteGenesis | |
|---|---|---|
| Status | Current (recommended) | Legacy (deprecated) |
| Architecture | Controller MVC | Pipelines (later also JavaScript controllers) |
| Mobile | Mobile-first, responsive | Desktop-first |
| Customisation | Cartridge override | Page-level override |
| New projects | Use SFRA (or a headless storefront) | Do not start new projects |
New server-rendered SFCC implementations use SFRA (Storefront Reference Architecture); the alternative for new builds is a headless storefront, covered below. If you are maintaining a SiteGenesis site, migration to SFRA should be on your roadmap — the SiteGenesis to SFRA migration guide covers how.
SFCC B2C vs B2B Commerce
Salesforce sells two separate commerce products under one brand. They share a name, not a platform:
B2C Commerce Cloud
The former Demandware platform, and what "SFCC" means in practice. It has its own back office (Business Manager), its own cartridge-based code model and its own APIs. B2C Commerce powers consumer-facing storefronts — fashion, beauty, sporting goods, electronics, luxury. Key capabilities:
- Einstein AI product recommendations and predictive search
- Multi-site, multi-currency, multi-language management from a single instance
- SFRA storefront architecture
- Native promotions and coupon engine
- Order management integration
- A/B testing
- Page Designer (visual content management)
B2B Commerce Cloud
A different product, not a mode of B2C Commerce. Salesforce expanded into B2B by acquiring CloudCraze, and today's B2B Commerce is built on the Salesforce Lightning Platform — the same platform as Sales Cloud and Service Cloud — with its own data model, admin tools and developer skills. It targets manufacturer-to-distributor and wholesale commerce:
- Account hierarchies and buyer groups
- Contract-based and negotiated pricing
- Reorder lists and quick order entry
- Purchase approval workflows
- Complex order management (split shipments, partial fulfilment)
- ERP and procurement system integrations
Throughout this guide, as in most of the industry, "SFCC" means B2C Commerce. Experience on one product does not transfer directly to the other.
Deep dive: Commerce Cloud features that lift conversion
SFCC APIs: OCAPI vs SCAPI
Two API systems govern how external applications interact with SFCC:
OCAPI — Open Commerce API
OCAPI is the original REST API for SFCC. It supports:
- Shop API (customer-facing: products, cart, checkout, orders)
- Data API (admin-facing: products, inventory, orders, promotions)
- Meta API (schema introspection)
The Shop API authenticates shoppers with an API client ID plus a shopper token; the Data API uses Account Manager client credentials or a Business Manager user grant. OCAPI is still found in many back-office integrations, third-party tools and older headless builds, but Salesforce marked it deprecated in April 2026: existing versions stay supported under its versioning and deprecation policy, but new features ship in SCAPI only.
SCAPI — Salesforce Commerce API
SCAPI is the Salesforce Commerce API, which Salesforce's documentation titles the B2C Commerce API. "Shopper" is not part of the name: the Shopper APIs are one of SCAPI's two API families. Compared with OCAPI it offers:
- Shopper APIs — customer-facing (browse, basket, checkout), authenticated through the Shopper Login and API Access Service (SLAS), which implements OAuth 2.1 flows, including PKCE for public clients
- Admin APIs — merchant-facing (products, orders, inventory), authenticated with Account Manager tokens; they are the successor to the OCAPI Data API
- Purpose-built for headless — served from its own API host and used by Salesforce's PWA Kit storefront
- Versioned endpoints — cleaner API lifecycle management
For new SFCC work, headless or not, use SCAPI — Salesforce's guidance is SCAPI for all new projects and major refactors. A few capabilities are still OCAPI-only, so check coverage before you retire an existing Data API integration. The full comparison is in SCAPI vs OCAPI.
SCAPI base URL pattern:
https://{shortCode}.api.commercecloud.salesforce.com/checkout/shopper-baskets/v1/
Deep dive: SFCC cartridge development in practice
SFCC Headless Commerce
Headless SFCC decouples the front-end from the back-end commerce engine. The storefront is a modern JavaScript application (React, Next.js, Vue) that communicates with SFCC exclusively through APIs.
Why Go Headless?
- Full control over front-end performance (Core Web Vitals, LCP, CLS)
- Modern developer experience (React ecosystem, npm, CI/CD)
- Composable architecture — swap components independently
- You own the performance budget, so Lighthouse scores are an engineering decision rather than a platform ceiling
- Framework flexibility — host anywhere (Vercel, Netlify, custom CDN)
PWA Kit
Salesforce provides PWA Kit as the reference headless implementation for SFCC. It is a React-based storefront starter kit that:
- Uses SCAPI for all shopper operations
- Provides pre-built components for product pages, cart, checkout
- Integrates with Salesforce's CDN and managed runtime
- Supports server-side rendering for SEO
PWA Kit is the starting point for most new headless SFCC projects, though teams often replace or heavily customise its components. Choosing between it and SFRA is a decision with long-term cost on both sides — see SFRA vs PWA Kit.
Composable Commerce
Beyond headless, composable commerce takes the separation further — using best-of-breed services for each commerce capability (search, payments, promotions, content) and composing them via APIs. SFCC fits naturally into composable architectures as the commerce engine, with:
- Algolia or Salesforce Einstein Search for search
- Contentful or Amplience for content management
- Adyen or Stripe for payments
- Akeneo for product information management
Deep dive: Headless commerce on Commerce Cloud
SFCC Page Designer
Page Designer is SFCC's visual content management system. It allows merchandisers to build and publish page content through a drag-and-drop interface without developer involvement.
Developer responsibilities with Page Designer:
- Build page types — define the layout and available regions
- Build components — reusable content blocks (hero banners, product tiles, editorial grids)
- Define component attributes — the fields merchandisers configure in the editor
- Register components in the component library
Page types and component types are code: a JSON definition plus a script and an ISML template, deployed in your cartridge. The pages merchandisers build from them are content, stored in the content library, so they can be edited and published without a code deployment.
SFCC Performance Optimization
SFCC SFRA storefronts are not fast by default. Good Core Web Vitals on SFRA take deliberate engineering, not configuration.
Key SFCC Performance Techniques
Image optimisation
- Use WebP or AVIF formats. SFCC's Dynamic Imaging service can transform images at the CDN layer.
- Set explicit
widthandheightattributes to prevent layout shift (CLS). - Lazy-load below-fold images with
loading="lazy". - Use
fetchpriority="high"on the LCP image.
CSS optimisation
- SFCC serves all CSS by default. Split stylesheets and load non-critical CSS asynchronously.
- Use
<link rel="preload" as="style">for critical CSS. - Remove unused styles — SFRA's base CSS is large and includes many unused rules.
JavaScript deferral
- SFCC loads significant JavaScript synchronously. Defer all non-critical scripts.
- Use
asyncordeferon third-party scripts. - Implement service workers for static asset caching.
Caching strategy
- Use SFCC's page-level caching (full-page cache) for category and product pages.
- Use partial page caching for personalised regions.
- Set aggressive CDN cache headers for static assets.
- The page cache, remote includes, custom caches and the eCDN are covered in depth in SFCC caching.
- For a full, ordered review of a storefront, see the SFCC performance audit checklist.
Core Web Vitals targets:
- LCP < 2.5s — optimise hero image loading
- CLS < 0.1 — set image dimensions, reserve font space
- INP < 200ms — defer long tasks, reduce main thread work
Deep dive: The Commerce Cloud SEO and performance guide
SFCC Business Manager
Business Manager (BM) is the back-office administration console for Salesforce Commerce Cloud. Every SFCC developer and merchant uses it daily.
Developer tasks in Business Manager:
- Code deployment via Administration > Site Development > Code Deployment
- Cartridge path configuration per site
- Job execution and scheduling (custom and platform jobs)
- OCAPI permission configuration
- Log file access and custom log creation
- Custom object definition and data management
- A/B test configuration
- Site import/export (XML-based data migration)
Merchant tasks in Business Manager:
- Product and catalogue management
- Pricing and promotion configuration
- Content slot and campaign scheduling
- Order search and management
- SEO URL rules and redirects
- Search tuning with Einstein
Understanding Business Manager deeply is a prerequisite for any SFCC developer. The B2C Commerce Developer exam tests it directly: the Business Manager data-management section alone is 24% of the official exam outline.
Deep dive: The complete Business Manager guide
SFCC Jobs and Quota
SFCC's job framework allows developers to schedule and run custom server-side logic — product data imports, inventory synchronisation, order export, promotional data processing.
Job anatomy:
- Custom step type — declared in a
steptypes.jsonfile at the root of your cartridge, which registers the step, its parameters and its status codes (Salesforce: Create Custom Job Step Types) - Task-oriented step — a CommonJS script module that exposes one function for a single operation and returns a
dw.system.Statusto set its exit status - Chunk-oriented step — a script module that reads, processes and writes items in chunks; it always finishes with OK or ERROR
- Job — assembled from steps in Business Manager (or imported as XML that references the step type ID), then run manually or on a schedule
Quota limits are a critical SFCC-specific concept. The platform enforces hard limits on:
- Script execution time, for storefront requests and job steps alike
- Memory usage per execution context
- Collection sizes and the number of objects a single operation may touch
- API call rates
Exceeding quotas causes job failures and storefront errors. Experienced SFCC developers design jobs to process data in batches, checkpoint progress, and handle quota exhaustion gracefully.
SFCC Custom Objects
Custom Objects (also called Custom Data Objects) are SFCC's built-in key-value store for persisting custom data beyond the standard platform data model.
Use cases:
- Storing third-party integration state (webhook receipts, sync timestamps)
- User-generated content (wishlist items before native wishlists existed)
- Configuration data managed through Business Manager
- Caching external API responses
Custom Objects are defined via a type definition (attribute group, attributes, indexes) and accessed via the CustomObjectMgr API. They can also be read and written from outside the platform through the OCAPI Data API.
SFCC Certifications
The primary certification path for Salesforce Commerce Cloud developers:
Salesforce B2C Commerce Developer
The foundational SFCC certification — officially Salesforce Certified B2C Commerce Developer. The official exam guide splits it into four sections:
- B2C Commerce Setup — 11%
- Work With a B2C Site — 12%
- Data Management Using Business Manager — 24%
- Application Development — 53% (ISML, controllers, forms, Page Designer components, services, hooks, OCAPI, jobs)
Prerequisites: none formally. The guide describes the candidate as having at least one year of developer experience plus 3–6 months in a B2C Commerce developer role.
Format: 60 scored multiple-choice questions plus up to five unscored ones, 105 minutes, 65% passing score. Registration is US$200 (retake US$100).
Preparation: the guide recommends the Trailhead Academy courses B2C Commerce Developer with SFRA (CCD102) and Manage and Merchandise a B2C Commerce Store (CCM101), the Trailhead trails it lists, and hands-on practice in a sandbox.
Salesforce B2C Commerce Architect
The senior B2C Commerce credential, covering design and discovery, integrations and customisations, build, launch, and monitoring. It is being retired: according to its exam guide, the certification retires on 1 February 2027 and the last day to take the exam was 31 August 2026.
Salesforce B2B Commerce Administrator / Developer
B2B Commerce is a separate product on the Salesforce Platform, with its own credentials; check the Trailhead credential catalogue for the current list.
Deep dive: How to get SFCC certified
SFCC vs Shopify Plus
The most common platform comparison for enterprise eCommerce:
| Criterion | SFCC | Shopify Plus |
|---|---|---|
| Customisation depth | Deep (cartridge model) | Moderate (apps + Storefront API) |
| Out-of-box performance | Needs deliberate tuning (SFRA) | Good within theme limits |
| Headless maturity | High (SCAPI + PWA Kit) | High (Storefront API) |
| Native AI | Einstein (deep integration) | Shopify Magic (limited) |
| B2B commerce | Separate Salesforce product (B2B Commerce) | Built in, still maturing |
| Multi-site | Native strength | Up to 9 stores per plan |
| Implementation cost | High (specialist developers) | Moderate |
| Time to market | Slower | Faster |
| Ecosystem | SFCC partner network | Large app store |
| Best for | Complex enterprise | Mid-market to enterprise |
The choice between SFCC and Shopify Plus is not about which platform is "better" — it is about fit. SFCC wins when requirements are complex. Shopify Plus wins when speed and simplicity matter more than depth. If you are moving onto SFCC from another platform, plan the switch as carefully as the choice: how to migrate to Commerce Cloud without disrupting sales.
Deep dive: SFCC vs Shopify Plus: the full comparison
About the Author: Ozan Altinbas
Ozan Altinbas is a Salesforce Commerce Cloud Technical Architect and eCommerce Architect based in Izmir, Turkey. He has been building on SFCC since 2018, with 8+ years of hands-on platform experience and 14+ years in software engineering.
His SFCC portfolio includes implementations for:
- Karl Lagerfeld — global fashion brand (Alpenite by Arsenalia, 2021–present)
- Stella McCartney — luxury sustainable fashion (Alpenite by Arsenalia, 2021–present)
- Barbour — British heritage brand (Alpenite by Arsenalia, 2021–present)
- Fred Paris — luxury jewellery (Alpenite by Arsenalia, 2021–present)
- Mulberry — British luxury leather goods (Alpenite by Arsenalia, 2021–present)
- Shoeby — Dutch fashion retail (Emakina, 2020–2021)
- GameStop — gaming retail (OSF Global Services, 2018–2020)
- Ubisoft — gaming publisher (OSF Global Services, 2018–2020)
- Micromania — French gaming retail (OSF Global Services, 2018–2020)
He holds the Salesforce Certified B2C Commerce Developer credential (issued 2019) and specialises in headless commerce via SCAPI/OCAPI, custom cartridge development, SFCC performance engineering, and payment gateway integrations (Adyen, PayPal, Klarna, Cybersource, Apple Pay).
View full portfolio · View career history · Contact Ozan
Frequently Asked Questions About SFCC
What is SFCC (Salesforce Commerce Cloud)?
Salesforce Commerce Cloud (SFCC), formerly known as Demandware, is an enterprise-grade cloud-based eCommerce platform that powers online stores for global brands. In practice "SFCC" means Salesforce B2C Commerce, which offers AI-driven personalisation via Einstein, multi-site management, headless commerce via SCAPI, and a cartridge-based extensibility model. Salesforce B2B Commerce is a separate product built on the Salesforce Platform.
What is the difference between SFCC OCAPI and SCAPI?
OCAPI (Open Commerce API) is the original REST API for Salesforce Commerce Cloud; Salesforce marked it deprecated in April 2026. SCAPI (the Salesforce Commerce API, titled B2C Commerce API in the documentation) is its successor: Shopper APIs authenticated through SLAS, which uses OAuth 2.1, plus Admin APIs for back-office integrations. Salesforce recommends SCAPI for all new projects.
What is an SFCC cartridge?
An SFCC cartridge is a modular unit of code that extends or overrides platform functionality. Cartridges follow a path-based inheritance model — custom cartridges override base cartridges without modifying core platform code, enabling clean upgrades and reusable integrations.
What is SFRA in Salesforce Commerce Cloud?
SFRA (Storefront Reference Architecture) is the modern front-end architecture for SFCC storefronts. It replaced SiteGenesis and uses a controller-based MVC pattern with ISML templates, providing a mobile-first reference implementation that merchants customise via cartridges.
How much does Salesforce Commerce Cloud cost?
Salesforce does not publish list prices for B2C Commerce; its pricing page says "Contact for pricing". Licensing is GMV-linked, and indicative market estimates (not official Salesforce figures) put it at roughly 1–3% of GMV, with minimum annual commitments for mid-market contracts commonly around €150,000–€300,000. Implementation costs are separate and vary by partner and project complexity.
What is headless commerce on SFCC?
Headless SFCC decouples the front-end from the back-end commerce engine. The storefront is built with React or Next.js and communicates with SFCC via SCAPI. Salesforce provides PWA Kit as a reference headless React implementation.
What SFCC certifications are available?
The primary certification is Salesforce Certified B2C Commerce Developer: 60 scored questions, 105 minutes, a 65% passing score, covering setup, Business Manager, and application development with SFRA, ISML and OCAPI. The B2C Commerce Architect certification is being retired on 1 February 2027; its last exam date was 31 August 2026. B2B Commerce, a separate product, has its own credentials on Trailhead.
How does SFCC compare to Shopify Plus?
SFCC suits large enterprises with complex needs: deep customisation, multi-site management, and native AI. Shopify Plus suits mid-market merchants needing speed to market. SFCC has higher TCO and needs specialist developers; Shopify Plus is faster to implement for standard use cases. For B2B, Salesforce sells a separate product, B2B Commerce.
What is SFCC Business Manager?
Business Manager is the back-office administration interface for Salesforce Commerce Cloud. Merchants manage products, promotions, and content. Developers deploy cartridges, configure jobs, manage OCAPI permissions, and access logs.
What should you look for when hiring an SFCC architect?
Check five things. 1) Certification: the Salesforce Certified B2C Commerce Developer credential, verifiable on Trailhead (the Architect credential is being retired in 2027, so its absence is not a red flag). 2) Storefront architecture: hands-on SFRA work and, if you are going headless, PWA Kit and SCAPI/SLAS experience. 3) Integrations: a track record with payments, OMS, ERP and PIM, and a clear view of OCAPI-to-SCAPI migration. 4) Performance and limits: caching strategy, Core Web Vitals, and designing jobs and integrations within platform quotas. 5) References: named projects you can verify, ideally with a reference call. To discuss a project with Ozan, use the contact page.