Really I've tried several different ways just to get an indication that zc actually runs it.
I have had absolutely no luck so far.
I couldn't get it to work where I NEED it to work, so I backed up to test with a dummy variable put in the session cookie attached to the session'cart' class. That didn't work either!
The set up is:
in autoloaders/overrides/config.vendorProducts.php
PHP Code:<?php
$autoLoadConfig[90][] = array('autoType'=>'class',
'loadFile'=>'observers/class.vendorProducts.php');
$autoLoadConfig[90][] = array('autoType'=>'classInstantiate',
'className'=>'vendorProducts',
'objectName'=>'vendorProducts');
?>
And in classes/observers/vendorProducts.php
So what am I missing here?PHP Code:<?php
class vendorProducts extends base {
function vendorProducts() {
$_SESSION['cart']->attach($this, array('NOTIFIER_CART_SHOW_TOTAL_END'));
}
function update(&$class, $eventID) {
$_SESSION['vendorProducts'] = 'true';
} // end function update
}
?>
TIA,
Arasii



