I'm trying to create an autoloader+ observer that adds a custom shipping surcharge for a particular product.
My autoloader is like so:
$autoLoadConfig[90][] = array('autoType'=>'class', 'loadFile'=>'observers/class.customShipping.php');
$autoLoadConfig[90][] = array('autoType'=>'classInstantiate', 'className'=>'customShipping', 'objectName'=>'customShipping');
When I install it, I get this:
$autoLoadConfig[90][] = array('autoType'=>'class', 'loadFile'=>'observers/class.customShipping.php'); $autoLoadConfig[90][] = array('autoType'=>'classInstantiate', 'className'=>'customShipping', 'objectName'=>'customShipping');
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/home/hairfo/www/htdocs/store/includes/auto_loaders/config.customShipping.php:2) in /usr/home/hairfo/www/htdocs/store/includes/functions/sessions.php on line 100
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /store/includes/auto_loaders/config.customShipping.php:2) in /store/includes/functions/sessions.php on line 100
Anyone know what's going on here? Or if there's an easier hack/mod to switch shipping rates for a particular product to a secondary rate table?



