Changeset 19680 for branches/version-2_5-dev/data/class/SC_CartSession.php
- Timestamp:
- 2010/11/24 05:30:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_CartSession.php
r19677 r19680 112 112 $price = $this->cartSession[$productTypeId][$i]['price']; 113 113 $quantity = $this->cartSession[$productTypeId][$i]['quantity']; 114 $ pre_tax = SC_Helper_DB_Ex::sfPreTax($price);115 $total = $ pre_tax * $quantity;114 $incTax = SC_Helper_DB_Ex::sfCalcIncTax($price); 115 $total = $incTax * $quantity; 116 116 return $total; 117 117 } … … 175 175 $quantity = $this->cartSession[$productTypeId][$i]['quantity']; 176 176 177 $ pre_tax = SC_Helper_DB_Ex::sfPreTax($price);178 $total+= ($ pre_tax * $quantity);177 $incTax = SC_Helper_DB_Ex::sfCalcIncTax($price); 178 $total+= ($incTax * $quantity); 179 179 } 180 180 return $total; … … 307 307 308 308 $quantity = $this->cartSession[$productTypeId][$i]['quantity']; 309 $ pre_tax = SC_Helper_DB_Ex::sfPreTax($price);310 $total = $ pre_tax * $quantity;311 312 $this->cartSession[$productTypeId][$i]['total_ pretax'] = $total;309 $incTax = SC_Helper_DB_Ex::sfCalcIncTax($price); 310 $total = $incTax * $quantity; 311 312 $this->cartSession[$productTypeId][$i]['total_inctax'] = $total; 313 313 314 314 $arrRet[] =& $this->cartSession[$productTypeId][$i];
Note: See TracChangeset
for help on using the changeset viewer.
