Available Extensions
This page lists all the extensions that are available for Salesforce Commerce. New extensions are added as they become available.
To create an extension provider, you must know which base Apex class to extend and the extension point name for mapping. Both the the base Apex class name and extension point name are listed for each extension.
The release status and availability varies from extension to extension. This page is updated to reflect the latest release status of each extension. Currently, the only extension that is generally available (GA) is Pricing Service. All other extensions are either in beta or developer preview.
Orchestrates multiple calculators to summarize the total cost in a cart. The following calculators are used: inventory cart calculator, pricing cart calculator, promotions cart calculator, shipping cart calculator, and tax cart calculator.
Each calculator is a separate extension and can be customized separately.
- Base Apex class: CartExtension.CartSummary
- Extension point name: Commerce_Domain_Cart_Summary
- Namespace:
CartExtension
. See Cart Reference.
CartSummary is currently limited to the following set of cart and checkout operations:
- AddItemToCart
- EditCartItem
- StartCheckout
- PatchCheckout (address, set delivery method)
The remaining cart operations, including DeleteCartItem, AddCoupon, and DeleteCoupon are not supported.
Calculates inventory for cart and checkout based on the inventory service.
- Base Apex class: CartExtension.InventoryCartCalculator
- Extension point name: Commerce_Domain_Inventory_CartCalculator
- Namespace:
CartExtension
. See Cart Reference.
Reserves and tracks available inventory. By default, this extension uses the Omnichannel Inventory (OCI) system for inventory data.
- Base Apex class: commerce_inventory.CommerceInventoryService
- Extension point name: Commerce_Domain_Inventory_Service
- Namespace:
commerce_inventory
. See Inventory Reference.
Calculates pricing for cart and checkout based on the pricing service.
- Base Apex class: CartExtension.PricingCartCalculator
- Extension point name: Commerce_Domain_Pricing_CartCalculator
- Namespace:
CartExtension
. See Cart Reference.
Tracks how products and services are priced. By default, this extension uses Salesforce price books for pricing data.
- Base Apex class: commercestorepricing.PricingService
- Extension point name: Commerce_Domain_Pricing_Service
- Namespace:
commercestorepricing
. See Pricing Reference.
Calculates promotions for cart and checkout. By default, this extension uses the Salesforce promotions service to perform its calculations.
- Base Apex class: CartExtension.PromotionsCartCalculator
- Extension point name: Commerce_Domain_Promotions_CartCalculator
- Namespace:
CartExtension
. See Cart Reference.
Calculates shipping costs. By default, there is no charge for shipping, so you must extend the base Apex class to see any effect.
- Base Apex class: CartExtension.ShippingCartCalculator
- Extension point name: Commerce_Domain_Shipping_CartCalculator
- Namespace:
CartExtension
. See Cart Reference.
Calculates taxes for cart and checkout. By default, this extension uses the Salesforce tax service to perform its calculations. This service currently supports gross taxation but does not yet support net taxation.
- Base Apex class: CartExtension.TaxCartCalculator
- Extension point name: Commerce_Domain_Tax_CartCalculator
- Namespace:
CartExtension
. See Cart Reference.