Salesforce B2C Storefront Controllers
Guides developers in creating and extending storefront controllers for Salesforce B2C Commerce using SFRA and classic patterns.
This skill provides specialized guidance for building Salesforce B2C Commerce controllers, which serve as the foundation for handling HTTP requests and rendering storefront responses. It assists developers in implementing modern Storefront Reference Architecture (SFRA) patterns using the server module and middleware, as well as maintaining legacy classic controllers. By offering standardized patterns for routing, response rendering (ISML and JSON), and middleware integration for security and caching, this skill ensures that e-commerce endpoints are built according to Salesforce best practices.
主な機能
014 GitHub stars
02Support for legacy Classic controller patterns
03Locale-aware URL generation patterns using URLUtils
04SFRA controller generation with middleware integration
05Boilerplate for common middleware like CSRF and caching
06Guided extension and overriding of existing controllers
ユースケース
01Building new product or category endpoints in an SFRA-based storefront
02Implementing secure AJAX endpoints for cart updates and form submissions
03Extending core functionality by appending or prepending logic to existing routes