Changeset 20816
- Timestamp:
- 2011/04/05 23:21:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Cart.php
r20810 r20816 101 101 // 合計数量 102 102 $total_quantity += $objCart->getTotalQuantity($cart_key); 103 104 // 送料無料チェック 105 if (!$this->isMultiple && !$this->hasDownload) { 106 $is_deliv_free = $objCart->isDelivFree($cart_key); 107 } 103 108 } 109 110 $arrCartList[0]['ProductsTotal'] = $products_total; 111 $arrCartList[0]['TotalQuantity'] = $total_quantity; 104 112 105 113 // 店舗情報の取得 106 114 $arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 115 $arrCartList[0]['free_rule'] = $arrInfo['free_rule']; 107 116 108 117 // 送料無料までの金額 109 $arrCartList[0]['ProductsTotal'] = $products_total;110 $arrCartList[0]['TotalQuantity'] = $total_quantity;111 112 $deliv_free = $arrInfo['free_rule'] - $products_total;113 $arrCartList[0]['free_rule'] = $arrInfo['free_rule'];114 $arrCartList[0]['deliv_free'] = $deliv_free;118 if ($is_deliv_free) { 119 $arrCartList[0]['deliv_free'] = 0; 120 } else { 121 $deliv_free = $arrInfo['free_rule'] - $products_total; 122 $arrCartList[0]['deliv_free'] = $deliv_free; 123 } 115 124 116 125 return $arrCartList;
Note: See TracChangeset
for help on using the changeset viewer.