Ignore:
Timestamp:
2011/07/27 13:40:38 (13 years ago)
Author:
468
Message:

#1413 スマートフォン版お気に入り登録処理追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r20992 r21048  
    174174                    } 
    175175                } 
    176  
     176            case "add_favorite_sphone": 
     177                // ログイン中のユーザが商品をお気に入りにいれる処理(スマートフォン用) 
     178                if ($objCustomer->isLoginSuccess() === true && $this->objFormParam->getValue('favorite_product_id') > 0 ) { 
     179                    $this->arrErr = $this->lfCheckError($this->mode,$this->objFormParam); 
     180                    if(count($this->arrErr) == 0){ 
     181                        if($this->lfRegistFavoriteProduct($this->objFormParam->getValue('favorite_product_id'),$objCustomer->getValue('customer_id'))){ 
     182                            print "true"; 
     183                            exit; 
     184                        } 
     185                    } 
     186                    print "error"; 
     187                    exit; 
     188                } 
    177189            default: 
    178190                break; 
Note: See TracChangeset for help on using the changeset viewer.