This modules defines a checkout pane that lets customers specify how they heard about your site (and so functions as a very basic lead tracker). The pane is titled Customer Service Information and is turned on by default.
This is a demo module showing people a simple way to add a checkout pane, save and load the data collected to orders, and display the collected data on the order view screen. Presentation on the order screen is very basic, and there is currently no way to modify the data in this module.
When you install this module, you should go to the Checkout panes settings page and add lead options to appear during checkout.
Use this module to see example implementations of the following hooks.
- hook_checkout_pane() - Defines a checkout pane to add the select box to the checkout form. The callback function uses the view, process, review, and settings values for $op.
- hook_order() - This handles saving and loading data added to the order object by the checkout pane to the database. It also serves to save and load the data on the order view screen.
- hook_order_pane() - Defines an order pane to display the customer's choice to administrators on the order view screen.