OK, I've looked at the code generated by the helper and also at the Handel
source code. So I think my task list is:
- clone Handel::Checkout::Plugin::AssignOrderNumber (one copy for each
checkout step) and modify.
- if required, modify database tables order and order_items and adjust
MyApp::Storage::* and MyApp::Model::* accordingly as per
http://search.cpan.org/dist/Handel/lib/Handel/Manual/Cookbook/AddingColumns.pod - modify MyApp/Controller/Checkout.pm extensively to use new workflow
- create any new templates
- update MyApp/root/{checkout|order}/{messages|profiles}.yml to
validate any forms
I think that's all I need to do...
What I have found is that what we get from Handel out of the box is
- creating order numbers and setting orders as 'saved' (the supplied
plugins)
- the pages (enter shipping/billing details, enter credit card info,
etc) and validation for these pages
- the table schemas and supporting modules
- the framework
and I need to do the rest.
Is this correct?