Ignore:
Timestamp:
2007/07/20 15:58:59 (19 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/html/frontparts/bloc/cart.php

    r12157 r15078  
    77class LC_CartPage { 
    88    function LC_CartPage() { 
    9         /** ɬ¤ºÊѹ¹¤¹¤ë **/ 
    10         $this->tpl_mainpage = BLOC_PATH . 'cart.tpl';   // ¥á¥¤¥ó 
     9        /** 必ず変更する **/ 
     10        $this->tpl_mainpage = BLOC_PATH . 'cart.tpl';   // メイン 
    1111    } 
    1212} 
     
    1818 
    1919if (count($_SESSION[$objCart->key]) > 0){ 
    20     // ¥«¡¼¥È¾ðÊó¤ò¼èÆÀ 
     20    // カート情報を取得 
    2121    $arrCartList = $objCart->getCartList(); 
    2222     
    23     // ¥«¡¼¥ÈÆâ¤Î¾¦ÉʣɣİìÍ÷¤ò¼èÆÀ 
     23    // カート内の商品ID一覧を取得 
    2424    $arrAllProductID = $objCart->getAllProductID(); 
    25     // ¾¦Éʤ¬1¤Ä°Ê¾åÆþ¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¾¦ÉÊ̾¾Î¤ò¼èÆÀ 
     25    // 商品が1つ以上入っている場合には商品名称を取得 
    2626    if (count($arrAllProductID) > 0){ 
    2727        $objQuery = new SC_Query(); 
     
    4242        } 
    4343    } 
    44     // ŹÊÞ¾ðÊó¤Î¼èÆÀ 
     44    // 店舗情報の取得 
    4545    $arrInfo = $objSiteInfo->data; 
    46     // ¹ØÆþ¶â³Û¹ç·× 
     46    // 購入金額合計 
    4747    $ProductsTotal = $objCart->getAllProductsTotal($arrInfo); 
    4848     
    49     // ¹ç·×¸Ä¿ô 
     49    // 合計個数 
    5050    $TotalQuantity = $objCart->getTotalQuantity(); 
    5151     
    52     // Á÷ÎÁ̵ÎÁ¤Þ¤Ç¤Î¶â³Û 
     52    // 送料無料までの金額 
    5353    $arrCartList[0]['ProductsTotal'] = $ProductsTotal; 
    5454    $arrCartList[0]['TotalQuantity'] = $TotalQuantity; 
Note: See TracChangeset for help on using the changeset viewer.