Public Member Functions | |
fetchTotals (Mage_Sales_Model_Quote_Address $address) |
Definition at line 28 of file Tax.php.
fetchTotals | ( | Mage_Sales_Model_Quote_Address $ | address | ) |
Reimplemented from Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend.
Definition at line 31 of file Tax.php.
00032 { 00033 $amount = $address->getTaxAmount(); 00034 if ($amount!=0) { 00035 $address->addTotal(array( 00036 'code'=>'tax', 00037 'title'=>Mage::helper('sales')->__('Tax'), 00038 'value'=>$amount 00039 )); 00040 } 00041 return $this; 00042 }