Hi,
i tried to extend some of the base-classes (oxOrder, oxUser).
Admin:
oxuser => test/test
class test extends oxUser
{
public function onOrderExecute( $oBasket, $iSuccess )
{
echo “test1”;die();
return parent::onOrderExecute( $oBasket, $iSuccess );
}
}
=> doesn’t work, Debugger shows only the parent-class is called (in class oxUser)
but this does work:
Admin:
oxorder => test/test
class test extends oxOrder
{
public function finalizeOrder( oxBasket $oBasket, $oUser, $blRecalculatingOrder = false )
{
echo “test2”; die();
}
}
Can you please help?