Salesforce B2B Commerce Apex

•
32
•

Builds and optimizes Salesforce B2B Commerce extensions using the CartExtension namespace and bulkified Apex patterns.

This skill empowers developers to implement complex server-side B2B commerce logic within the Salesforce platform using the specialized CartExtension namespace. It provides structured guidance for creating custom Pricing, Shipping, Tax, and Inventory calculators while ensuring strict compliance with Salesforce governor limits and mandatory bulkification best practices. By automating the fetching of live documentation, the skill ensures that implementations remain compatible with the latest Salesforce seasonal releases, helping developers avoid deprecated APIs and achieve high-quality test coverage for robust checkout customizations.

主な機能

01Real-time Salesforce release documentation integration
02Automated bulkification and SOQL optimization patterns
03Comprehensive test class generation with mock callout patterns
04Custom CartExtension calculator implementation for pricing and tax
05Governor limit monitoring for SOQL, CPU, and heap usage
0632 GitHub stars

ユースケース

01Developing real-time inventory validation for carts with hundreds of items
02Implementing complex contract-based tiered pricing for B2B stores
03Integrating external shipping carriers or tax engines into checkout flows