Changeset 20837
- Timestamp:
- 2011/04/14 14:44:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/entry/LC_Page_Entry_Complete.php
r20764 r20837 65 65 // カートが空かどうかを確認する。 66 66 $objCartSess = new SC_CartSession_Ex(); 67 $this->tpl_cart_empty = count($objCartSess->getCartList()) < 1; 67 $arrCartKeys = $objCartSess->getKeys(); 68 $this->tpl_cart_empty = true; 69 foreach ($arrCartKeys as $cart_key) { 70 if (count($objCartSess->getCartList($cart_key)) > 0) { 71 $this->tpl_cart_empty = false; 72 break; 73 } 74 } 68 75 69 76 // メインテンプレートを設定
Note: See TracChangeset
for help on using the changeset viewer.