Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ccrz.ccLogicCartPlace

Define the business logic for converting a cart to an order.

Compatibility

This reference applies to:

Release Managed Package Version API Version
B2B Commerce for Visualforce Winter ’21 4.13 12
B2B Commerce for Visualforce Spring ’20 4.12 11
B2B Commerce for Visualforce Summer ’19 4.11 10
B2B Commerce for Visualforce Spring ’19 4.10 9
B2B Commerce for Visualforce Summer ’18 4.9 8

In B2B Commerce for Visualforce Winter ’21 (managed package version 4.13 and API version 12):

  • This logic service provider class includes methods that replace the ccrz.cc_api_Cart.placeEOrder public method, which is deprecated in this version. Pay close attention to the compatibility information listed for each inner method.
  • As a result, this logic service provider executes differently compared to B2B Commerce for Visualforce Spring ’20 (managed package version 4.12 and API version 11) or older. The ccrz.cc_api_Cart.placeEOrder public method remains available for those older versions.
  • To continue using ccrz.cc_api_Cart.placeEOrder logic for placing an order, set the Checkout storefront configuration module's Use Order Hook setting (co.usehkorder) to TRUE. This configuration specifies that methods of the ccrz.cc_hk_Order extension point class execute and call ccrz.cc_api_Cart.placeEOrder. When this configuration is FALSE, the ccrz.ccLogicCartPlace logic service provider executes instead.

Important

Global API Caller

ccrz.ccApiCart.place

Methods