sfcc-cartridge-development

Build custom SFCC cartridges with SFRA controllers, ISML templates, and OCAPI/SCAPI integration.

44|7|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill sfcc-cartridge-development-finsilabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sfcc-cartridge-development
Source: https://github.com/finsilabs/awesome-ecommerce-skills/tree/main/skills/platform-salesforce-cc/sfcc-cartridge-development
Command: npx skills add https://github.com/finsilabs/awesome-ecommerce-skills --skill sfcc-cartridge-development-finsilabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and boilerplate code for developing custom cartridges for Salesforce Commerce Cloud (SFCC) using the Storefront Reference Architecture (SFRA).

Core Features & Use Cases

  • Cartridge Structure: Learn how to set up the correct directory layout and layering for custom SFCC cartridges.
  • Controller Development: Implement server-side JavaScript controllers for custom page rendering and form handling.
  • Template Creation: Write ISML templates to define the storefront's UI.
  • Data Modeling: Create model wrappers for SFCC API objects.
  • Scheduled Jobs: Develop background jobs for data processing and synchronization.
  • OCAPI/SCAPI Integration: Integrate with SFCC's APIs for headless or extended functionality.
  • Use Case: You need to add a new custom checkout step to your SFCC store. This Skill will guide you through creating the necessary controllers, templates, and server-side logic to implement this feature seamlessly within the SFRA framework.

Quick Start

Follow the instructions in the 'Core Instructions' section to set up a new SFCC cartridge.

Frequently Asked Questions about sfcc-cartridge-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a custom cartridge for Salesforce Commerce Cloud using SFRA?

Building a custom SFCC cartridge involves setting up the correct directory layout for layering, writing server-side JavaScript controllers for routing, and defining ISML templates for the UI within the SFRA framework. This Skill provides boilerplate code and guides you through the entire cartridge structure setup process.

What is cartridge layering in Salesforce Commerce Cloud and how does it work?

Cartridge layering in Salesforce Commerce Cloud is an SFCC-specific development pattern that allows multiple cartridges to override or extend each other's controllers, templates, and static assets. This Skill explains how to structure and layer custom cartridges correctly to modify storefront behavior without altering the base SFRA codebase.

How do I add a custom checkout step to an SFCC storefront?

Adding a custom checkout step requires implementing server-side JavaScript controllers for form handling, creating ISML templates for the UI, and managing data persistence. This Skill guides you through creating the necessary server.js route handling and form definitions to integrate the step seamlessly within SFRA.

Can I use server-side JavaScript to integrate OCAPI and SCAPI in SFCC cartridge development?

Yes, you can use server-side JavaScript to integrate with SFCC's OCAPI and SCAPI for headless or extended functionality. This Skill covers how to develop controllers and data models within your custom cartridge to interact with these APIs effectively.

How do I develop scheduled jobs for data synchronization in SFCC?

Developing scheduled jobs in SFCC involves writing server-side JavaScript within your custom cartridge to handle background data processing and synchronization. This Skill provides guidance on structuring these jobs and managing transaction handling for secure data persistence.