Handel::Checkout::Plugin::AssignOrderNumber - Checkout plugin to assign order numbers
use Handel::Checkout; my $checkout = Handel::Checkout->new({ order => $order, phases => 'CHECKOUT_PHASE_FINALIZE', loadplugins => 'Handel::Checkout::Plugin::AssignOrderNumber' }); $checkout->process;
This checkout plugin simply assigns a number to $order->number during the CHECKOUT_PHASE_FINALIZE phase.
Registers this plugin for the CHECKOUT_PHASE_FINALIZE phase.
Assigns a number to the current order.
Handel::Checkout::Plugin, Handel::Checkout
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Handel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Handel
CPAN shell
perl -MCPAN -e shell install Handel
For more information on module installation, please visit the detailed CPAN module installation guide.