/** * Return list of allowed targets * * @return array */ public static function getAllowedTargets() { $targets = parent::getAllowedTargets(); $targets[] = 'order'; if (!\XLite::isAdminZone()) { $targets[] = 'checkoutSuccess'; } return $targets; }
/** * Return list of allowed targets * * @return array */ public static function getAllowedTargets() { $targets = parent::getAllowedTargets(); $targets[] = 'order'; return $targets; }