[Handel] Handel-0.99_05 getting started
ryan lauterbach
ryan at radianit.com
Tue Aug 22 16:53:44 CEST 2006
Hi,
I'm trying to add the Handel cart to an existing site which uses
Catalyst 5.7001 with DBIx::Class::Schema models. When I run the
Handel::Scaffold helper I get a Cart model looking like:
package App::M::Cart;
use strict;
use warnings;
use base qw/Handel::Cart/;
__PACKAGE__->connection_info('dbi:mysql:dbname', 'bleh', 'bleh');
1;
Now is it possible to use my existing Schema connection info? I also
get this error in the apache log:
Can't locate object method "connection_info"
Maybe the helper is still creating a Class::DBI type model??
Also is there an example schema somewhere of how to create the cart,
checkout, order database tables? Or a tutorial to follow or something,
couldn't see how to bootstrap this thing from the cpan docs.
Many thanks!
Ryan
More information about the Handel
mailing list