35         if (!
$myConfig->getConfigParam(
"blAllowRemoteArticleInfo")) {
 
   40         $sOutput = 
'OXID__Problem : no valid oxid !';
 
   44             $oProduct = 
oxNew(
'oxArticle');
 
   45             $oProduct->load($sId);
 
   46         } elseif (
$myConfig->getConfigParam(
'bl_perfLoadAktion')) {
 
   47             $oArtList = 
oxNew(
'oxarticlelist');
 
   48             $oArtList->loadActionArticles(
'OXAFFILIATE');
 
   49             $oProduct = $oArtList->current();
 
   56             $aClassVars = get_object_vars($oProduct);
 
   60             while (list($sFieldName,) = each($aClassVars)) {
 
   61                 if ($oStr->strstr($sFieldName, 
'oxarticles')) {
 
   62                     $sName = str_replace(
'oxarticles__', 
'', $sFieldName);
 
   63                     $aExport[$sName] = $oProduct->$sFieldName->value;
 
   67             $oPrice = $oProduct->getPrice();
 
   69             $aExport[
'vatPercent'] = $oPrice->getVat();
 
   70             $aExport[
'netPrice'] = $myUtils->fRound($oPrice->getNettoPrice());
 
   71             $aExport[
'brutPrice'] = $myUtils->fRound($oPrice->getBruttoPrice());
 
   72             $aExport[
'vat'] = $oPrice->getVatValue();
 
   73             $aExport[
'fprice'] = $oProduct->getFPrice();
 
   74             $aExport[
'ftprice'] = $oProduct->getFTPrice();
 
   76             $aExport[
'oxdetaillink'] = $oProduct->getLink();
 
   77             $aExport[
'oxmoredetaillink'] = $oProduct->getMoreDetailLink();
 
   78             $aExport[
'tobasketlink'] = $oProduct->getToBasketLink();
 
   80             $aExport[
'thumbnaillink'] = $sPictureUrl . 
"/" . $aExport[
'oxthumb'];
 
   81             $sOutput = serialize($aExport);
 
   85         $myUtils->showMessageAndExit($sOutput);
 
  114             if (($blAddCompare || $blRemoveCompare) && $sProductId) {
 
  118                 if ($blAddCompare && !isset($aItems[$sProductId])) {
 
  119                     $aItems[$sProductId] = 
true;
 
  122                 if ($blRemoveCompare) {
 
  123                     unset($aItems[$sProductId]);
 
  130                 if (($oProduct = $oParentView->getViewProduct())) {
 
  131                     if (isset($aItems[$oProduct->getId()])) {
 
  132                         $oProduct->setOnComparisonList(
true);
 
  134                         $oProduct->setOnComparisonList(
false);
 
  138                 $aViewProds = $oParentView->getViewProductList();
 
  139                 if (is_array($aViewProds) && count($aViewProds)) {
 
  140                     foreach ($aViewProds as $oProduct) {
 
  141                         if (isset($aItems[$oProduct->getId()])) {
 
  142                             $oProduct->setOnComparisonList(
true);
 
  144                             $oProduct->setOnComparisonList(
false);
 
  162     public function toNoticeList($sProductId = null, $dAmount = null, $aSel = null)
 
  168         $this->
_toList(
'noticelist', $sProductId, $dAmount, $aSel);
 
  181     public function toWishList($sProductId = null, $dAmount = null, $aSel = null)
 
  189             $this->
_toList(
'wishlist', $sProductId, $dAmount, $aSel);
 
  201     protected function _toList($sListType, $sProductId, $dAmount, $aSel)
 
  204         if ($oUser = $this->
getUser()) {
 
  212             $dAmount = str_replace(
',', 
'.', $dAmount);
 
  213             if (!$this->
getConfig()->getConfigParam(
'blAllowUnevenAmounts')) {
 
  214                 $dAmount = round(( 
string ) $dAmount);
 
  217             $oBasket = $oUser->getBasket($sListType);
 
  218             $oBasket->addItemToBasket($sProductId, abs($dAmount), $aSel, ($dAmount == 0));
 
  221             $oBasket->getItemCount(
true);
 
  238         $oContentList = 
oxNew(
'oxcontentlist');
 
  239         $oContentList->loadMainMenulist();
 
  240         $oParentView->setMenueList($oContentList);