ccrz.cc_api_DeliveryDate

Implement subscriber-defined behavior for showing an account's available delivery dates during checkout. On the storefront, the Checkout page calls this extension point class before rendering shipping options.

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

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 Shipping in the Integrations section of the Storefront Settings menu (2). Update the Delivery Date API Class field (3) with your custom class name, prefixed with c., such as c.cc_example_api_DeliveryDate.

Update the Delivery Date API Class field in your storefront settings

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

Tip

Front-End Input

On the storefront, a buyer selects dates from a date picker widget, which by default uses the bootstrap-datepicker.js library, referenced from the ccrz.cc_hk_UserInterface extension point class. To define rules for which dates are available for a buyer to select from the widget, use the getDeliveryDates method of this class.

This library replaced the zebra_datepicker.js in B2B Commerce for Visualforce Summer ’18 (version 4.9). If you've migrated from a version that's older than Summer ’18, update the Date_Format page label to use the bootstrap-datepicker.js standard date format.

Note

Methods