ccrz.cc_hk_Order

Implement subscriber-defined behavior for placing an order, reordering, and showing order history. This class defines a mixture of legacy and current behavior, and the order logic service provider classes replace the legacy functionality from this class.

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 these versions of the managed package, the following logic service provider classes replace some methods of this extension point class:

Legacy Method Replacement Class
ccrz.cc_hk_Order.createTransaction None. This functionality remains current in the managed package.
ccrz.cc_hk_Order.fetchOrderHistory ccrz.ccLogicOrderHistory
ccrz.cc_hk_Order.place
  • B2B Commerce for Visualforce Winter ’21 (managed package version 4.13 and API version 12) or later—ccrz.ccLogicCartPlace
  • B2B Commerce for Visualforce Spring ’21 (managed package version 4.12 and API version 11) or earlier—This functionality remains current in the managed package.
ccrz.cc_hk_Order.placeTarget None. This functionality remains current in the managed package.
ccrz.cc_hk_Order.reorder ccrz.ccLogicOrderReOrder

Extension Class Setting in CC Admin

If you extend the default version of this class, update your storefront settings in CC Admin. Select your storefront (1), and then select Orders in the Integrations section of the Storefront Settings menu (2). Update the Order Hook API Class field (3) with your custom class name, prefixed with c., such as c.cc_example_hk_Order.

Replace the default extension point class with your custom class

For more help with creating an extension, including considerations and conventions, see Extend a Global Extension Point Class.

Tip

Methods