Changeset 11729 for branches/comu/html/frontparts/bloc/cart.php
- Timestamp:
- 2007/03/10 21:35:02 (20 years ago)
- File:
-
- 1 edited
-
branches/comu/html/frontparts/bloc/cart.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/comu/html/frontparts/bloc/cart.php
r248 r11729 7 7 class LC_CartPage { 8 8 function LC_CartPage() { 9 /** ɬ¤ºÊѹ¹¤¹¤ë**/10 $this->tpl_mainpage = BLOC_PATH . 'cart.tpl'; // ¥á¥¤¥ó9 /** 必ず変更する **/ 10 $this->tpl_mainpage = BLOC_PATH . 'cart.tpl'; // メイン 11 11 } 12 12 } … … 18 18 19 19 if (count($_SESSION[$objCart->key]) > 0){ 20 // ¥«¡¼¥È¾ðÊó¤ò¼èÆÀ20 // カート情報を取得 21 21 $arrCartList = $objCart->getCartList(); 22 22 23 // ¥«¡¼¥ÈÆâ¤Î¾¦ÉʣɣİìÍ÷¤ò¼èÆÀ23 // カート内の商品ID一覧を取得 24 24 $arrAllProductID = $objCart->getAllProductID(); 25 // ¾¦Éʤ¬1¤Ä°Ê¾åÆþ¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¾¦ÉÊ̾¾Î¤ò¼èÆÀ25 // 商品が1つ以上入っている場合には商品名称を取得 26 26 if (count($arrAllProductID) > 0){ 27 27 $objQuery = new SC_Query(); … … 42 42 } 43 43 } 44 // ŹÊÞ¾ðÊó¤Î¼èÆÀ44 // 店舗情報の取得 45 45 $arrInfo = $objSiteInfo->data; 46 // ¹ØÆþ¶â³Û¹ç·×46 // 購入金額合計 47 47 $ProductsTotal = $objCart->getAllProductsTotal($arrInfo); 48 48 49 // ¹ç·×¸Ä¿ô49 // 合計個数 50 50 $TotalQuantity = $objCart->getTotalQuantity(); 51 51 52 // Á÷ÎÁ̵ÎÁ¤Þ¤Ç¤Î¶â³Û52 // 送料無料までの金額 53 53 if($arrInfo['free_rule'] > 0){ 54 54 $deliv_free = $arrInfo['free_rule'] - $ProductsTotal;
Note: See TracChangeset
for help on using the changeset viewer.
